Commit a4796117 authored by Jonas Schwab's avatar Jonas Schwab
Browse files

update .gitlab-ci.yml

parent 03633261
types:
- build
- test
variables:
BRANCH_R: "master"
.build_template: &build_definition
type: build
rules:
changes:
- Run.py
- default_variables.py
- py_alf.py
script:
- apt-get update && apt-get install -y pylint3 python3-numpy python3-colorama git
- pylint3 -E Run.py default_variables.py py_alf.py
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.physik.uni-wuerzburg.de/ALF/ALF.git
- ./Run.py -R --alfdir ./ALF --machine "GNU" --branch_R master --ham_name_R Hubbard_Plain_Vanilla
.test_template: &test_definition
type: test
rules:
- if: '$BRANCH_T'
when: always
script:
- apt-get update && apt-get install -y pylint3 python3-numpy python3-colorama git
- export PYTHONPATH="$PWD:$PYTHONPATH"
- cd Scripts
- ./test_branch.py --branch_R master --branch_T 164-do-all-plain-text-writeouts-of-floats-in-scientific-format
- ./test_branch.py --branch_R $BRANCH_R --branch_T $BRANCH_T
.test_template-PGI: &test_definition-PGI
type: test
rules:
- if: '$BRANCH_T'
when: always
script:
- apt-get update && apt-get install -y pylint3 python3-numpy python3-colorama git
- export PATH="/opt/pgi/linux86-64/2019/bin:$PATH"
- export PYTHONPATH="$PWD:$PYTHONPATH"
- cd Scripts
- ./test_branch.py --branch_R master --branch_T 164-do-all-plain-text-writeouts-of-floats-in-scientific-format --machine PGI
- ./test_branch.py --branch_R $BRANCH_R --branch_T $BRANCH_T --machine PGI
Test_Buster:
image: git.physik.uni-wuerzburg.de:25812/z03/pdi/debian:buster-gfortran-blas-lapack-fftw-hdf5-scipy
<<: *test_definition
<<: *build_definition
Test_Stretch:
image: git.physik.uni-wuerzburg.de:25812/z03/pdi/debian:stretch-gfortran-blas-lapack-fftw-hdf5-scipy
<<: *test_definition
<<: *build_definition
Test_Buster-PGI:
image: git.physik.uni-wuerzburg.de:25812/z03/pdi/debian:buster-pgi1910
<<: *test_definition-PGI
Warn_Buster:
image: git.physik.uni-wuerzburg.de:25812/z03/pdi/debian:buster-gfortran-blas-lapack-fftw-hdf5-scipy
allow_failure: true
stage: build
only:
changes:
- Run.py
- default_variables.py
- py_alf.py
script:
- apt-get update && apt-get install -y pylint3 python3-numpy python3-colorama
- pylint3 Run.py default_variables.py py_alf.py
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