Skip to content
Snippets Groups Projects
Commit 13969002 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

update gitlab-ci variables names

parent ab6e9741
No related branches found
No related tags found
1 merge request!610Add a pytest to run a dict of CALLAB test runs before releases
......@@ -54,10 +54,10 @@ checks:
automated_test:
variables:
OUT_FOLDER: /gpfs/exfel/data/scratch/xcaltst/test/
REFERENCE_FOLDER: /gpfs/exfel/data/scratch/xcaltst/test/
DETECTOR_TYPE: epix100
CALIBRATION_TYPE: dark
OUTPUT: /gpfs/exfel/data/scratch/xcaltst/test/
REFERENCE: /gpfs/exfel/data/scratch/xcaltst/test/
DETECTOR: epix100
CALIBRATION: dark
stage: automated_test
only: [merge_requests]
when: manual
......@@ -67,8 +67,8 @@ automated_test:
- export LANG=C # Hopefully detect anything relying on locale
- python3 -m pip install ".[automated_test]"
- echo "Running automated test. This can take sometime to finish depending on the test data."
- echo "Given variables are REFERENCE_FOLDER=$REFERENCE_FOLDER, OUT_FOLDER=$OUT_FOLDER, DETECTOR_TYPE=$DETECTOR_TYPE, CALIBRATION_TYPE=$CALIBRATION_TYPE"
- python3 -m pytest ./tests/test_reference_runs --color yes --verbose --release-test --reference-folder $REFERENCE_FOLDER --out-folder $OUT_FOLDER --detectors $DETECTOR_TYPE --calibration $CALIBRATION_TYPE
- echo "Given variables are REFERENCE=$REFERENCE, OUTPUT=$OUTPUT, DETECTOR=$DETECTOR, CALIBRATION=$CALIBRATION"
- python3 -m pytest ./tests/test_reference_runs --color yes --verbose --release-test --reference-folder $REFERENCE --out-folder $OUTPUT --detectors $DETECTOR --calibration $CALIBRATION
# cython-editable-install-test:
# stage: test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment