Skip to content
Snippets Groups Projects
Commit 95595580 authored by Thomas Kluyver's avatar Thomas Kluyver Committed by Karim Ahmed
Browse files

Fix which test step is which

parent 1dec67a5
No related branches found
No related tags found
1 merge request!984Try updating to Python 3.11 & update all deps
......@@ -53,6 +53,13 @@ pytest:
# reports:
# cobertura: coverage.xml
cython-editable-install-test:
stage: test
only: [merge_requests]
script:
- python3 -m pip install -e ".[test]"
- python3 -m pytest --color yes --verbose ./tests/test_cythonalgs.py
automated_test:
variables:
OUTPUT: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
......@@ -64,21 +71,14 @@ automated_test:
only: [merge_requests]
when: manual
allow_failure: false
tags:
- integration
script:
- export LANG=C # Hopefully detect anything relying on locale
- python3 -m pip install ".[test]"
- python3 -c "from cal_tools.restful_config import restful_config; print(restful_config.get('calcat')['base-api-url'])"
- echo "Running automated test. This can take sometime to finish depending on the test data."
- echo "Given variables are REFERENCE=$REFERENCE, OUTPUT=$OUTPUT, DETECTORS=$DETECTORS, CALIBRATION=$CALIBRATION"
- python3 -m pytest -x ./tests/test_reference_runs --color yes --verbose --release-test --reference-folder /gpfs/exfel/d/cal_tst/reference_folder --out-folder /gpfs/exfel/data/scratch/xcaltst/test/$OUTPUT --detectors $DETECTORS --calibration $CALIBRATION
timeout: 24 hours
resource_group: automated_test
cython-editable-install-test:
stage: test
only: [merge_requests]
tags:
- integration
script:
- python3 -m pip install -e ".[test]"
- python3 -c "from cal_tools.restful_config import restful_config; print(restful_config.get('calcat')['base-api-url'])"
- python3 -m pytest --color yes --verbose ./tests/test_cythonalgs.py
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