Commit aa443179 authored by Markus Holzer's avatar Markus Holzer
Browse files

Added latest python pipeline

parent dff8cae0
Pipeline #29903 failed with stage
in 129 minutes and 21 seconds
......@@ -34,16 +34,14 @@ tests-and-coverage:
cobertura: coverage.xml
junit: report.xml
# test run for the minimal sympy (1.2) version stated in setup.py
minimal-sympy-version:
# pipeline with latest python version
latest-python:
stage: test
except:
variables:
- $ENABLE_NIGHTLY_BUILDS
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/latest_python
script:
- pip install `grep -Eo 'sympy[>=]+[0-9\.]+' setup.py | sed 's/>/=/g'`
- pip install `grep -Eo 'numpy[>=]+[0-9\.]+' setup.py | sed 's/>/=/g'`
- env
- pip list
- export NUM_CORES=$(nproc --all)
......@@ -111,6 +109,10 @@ ubuntu:
- $ENABLE_NIGHTLY_BUILDS
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/ubuntu
script:
- apt-get -y remove python3-sympy
- export NUM_CORES=$(nproc --all)
- pip3 install `grep -Eo 'sympy[>=]+[0-9\.]+' setup.py | sed 's/>/=/g'`
- pip3 install `grep -Eo 'numpy[>=]+[0-9\.]+' setup.py | sed 's/>/=/g'`
- mkdir -p ~/.config/matplotlib
- echo "backend:template" > ~/.config/matplotlib/matplotlibrc
- sed -i 's/--doctest-modules //g' pytest.ini
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment