diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed31ba546326f319ef8033713b72e8de491caf08..44867354f46f6e462af88fd9be2b7853e68fd67b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,16 @@ types: - build - + .test_template: &test_definition type: build - only: - changes: - - Run.py - - default_variables.py - - py_alf.py script: - - apt-get update && apt-get install -y pylint3 python3-numpy python3-colorama git + - export PYTHONPATH="$PWD:$PYTHONPATH" + - apt-get update && apt-get install -y pylint3 python3-numpy git python3-nbconvert jupyter-notebook jupyter-nbconvert python3-jupyter-core - 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 + - cd Notebooks + - jupyter-nbconvert --execute --ExecutePreprocessor.timeout=200 minimal_ALF_run.ipynb Test_Buster: