Skip to content
Snippets Groups Projects
Commit fddca9ad authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'FixPipeline' into 'master'

Fix longruns

See merge request !299
parents a100881c 7a3eae03
No related merge requests found
...@@ -36,53 +36,50 @@ tests-and-coverage: ...@@ -36,53 +36,50 @@ tests-and-coverage:
cobertura: coverage.xml cobertura: coverage.xml
junit: report.xml junit: report.xml
# pipeline with latest python version # Normal test with longruns
latest-python: tests-and-coverage-with-longrun:
stage: test stage: test
except: when: manual
variables: allow_failure: true
- $ENABLE_NIGHTLY_BUILDS image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/latest_python
script: script:
- pip install sympy --upgrade
- env - env
- pip list - pip list
- export NUM_CORES=$(nproc --all) - export NUM_CORES=$(nproc --all)
- mkdir -p ~/.config/matplotlib - mkdir -p ~/.config/matplotlib
- echo "backend:template" > ~/.config/matplotlib/matplotlibrc - echo "backend:template" > ~/.config/matplotlib/matplotlibrc
- mkdir public - mkdir public
- py.test -v -n $NUM_CORES -m "not longrun" --junitxml=report.xml - py.test -v -n $NUM_CORES
tags: tags:
- docker - docker
- cuda11
- AVX - AVX
artifacts:
when: always
reports:
junit: report.xml
# Nightly test - runs "long run" jobs only # pipeline with latest python version
test-longrun: latest-python:
stage: test stage: test
only: except:
variables: variables:
- $ENABLE_NIGHTLY_BUILDS - $ENABLE_NIGHTLY_BUILDS
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full image: i10git.cs.fau.de:5005/pycodegen/pycodegen/latest_python
script: script:
- env
- pip list
- export NUM_CORES=$(nproc --all) - export NUM_CORES=$(nproc --all)
- mkdir -p ~/.config/matplotlib - mkdir -p ~/.config/matplotlib
- echo "backend:template" > ~/.config/matplotlib/matplotlibrc - echo "backend:template" > ~/.config/matplotlib/matplotlibrc
- py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. --html test-report/index.html --junitxml=report.xml - mkdir public
- py.test -v -n $NUM_CORES -m "not longrun" --junitxml=report.xml
tags: tags:
- docker - docker
- cuda11
- AVX - AVX
artifacts: artifacts:
when: always when: always
paths:
- coverage_report
- test-report
reports: reports:
junit: report.xml junit: report.xml
# Minimal tests in windows environment # Minimal tests in windows environment
minimal-windows: minimal-windows:
stage: test stage: test
...@@ -248,7 +245,6 @@ pycodegen-integration: ...@@ -248,7 +245,6 @@ pycodegen-integration:
- cd .. - cd ..
- pip install -e pystencils/ - pip install -e pystencils/
- pip install -e lbmpy/ - pip install -e lbmpy/
- pip install -e pygrandchem/
- cmake --version - cmake --version
- ./install_walberla.sh - ./install_walberla.sh
- export NUM_CORES=$(nproc --all) - export NUM_CORES=$(nproc --all)
...@@ -258,14 +254,12 @@ pycodegen-integration: ...@@ -258,14 +254,12 @@ pycodegen-integration:
- py.test -v -n $NUM_CORES --junitxml=report.xml . - py.test -v -n $NUM_CORES --junitxml=report.xml .
- cd ../lbmpy - cd ../lbmpy
- py.test -v -n $NUM_CORES --junitxml=report.xml . - py.test -v -n $NUM_CORES --junitxml=report.xml .
- cd ../pygrandchem
- py.test -v -n $NUM_CORES --junitxml=report.xml .
- cd ../walberla/build/ - cd ../walberla/build/
- make -j $NUM_CORES CodegenJacobiCPU CodegenJacobiGPU CodegenPoissonCPU CodegenPoissonGPU MicroBenchmarkGpuLbm LbCodeGenerationExample - make -j $NUM_CORES CodegenJacobiCPU CodegenJacobiGPU CodegenPoissonCPU CodegenPoissonGPU MicroBenchmarkGpuLbm LbCodeGenerationExample
- make -j $NUM_CORES multiphaseCPU multiphaseGPU FluctuatingMRT FlowAroundSphereCodeGen - make -j $NUM_CORES multiphaseCPU multiphaseGPU FluctuatingMRT FlowAroundSphereCodeGen FieldLayoutAndVectorizationTest GeneratedOutflowBC
- cd apps/benchmarks/UniformGridGPU - cd apps/benchmarks/UniformGridGPU
- make -j $NUM_CORES - make -j $NUM_CORES
- cd ../UniformGridGenerated - cd ../UniformGridCPU
- make -j $NUM_CORES - make -j $NUM_CORES
tags: tags:
- docker - docker
......
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