Skip to content
Snippets Groups Projects

CI development

Merged Aaron Viets requested to merge aaron-viets/gstlal-calibration:CI-development into main
1 unresolved thread
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 31
1
@@ -126,13 +126,43 @@ test:
EOF
# install test requirements
- dnf -y -q install python3-pytest
- dnf -y -q install framel
- dnf -y -q install git-all
script:
- export GST_DEBUG_DUMP_DOT_DIR=${CI_PROJECT_DIR}/tests/
# install our packages
- dnf -y -q install gstlal-calibration
- dnf -y -q install gstlal-calibration-*.rpm
# check the GST plugins
- gst-inspect-1.0
- gst-inspect-1.0 gstlalcalibration
# run the tests
- python3 -m pytest
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: always
- if: $CI_PIPELINE_SOURCE == "push"
when: manual
allow_failure: true
artifacts:
when: always
paths:
- tests/tests_pytest/*.txt
- tests/tests_pytest/*.png
- tests/tests_pytest/ASD_data/*.png
- tests/tests_pytest/ASD_data/*asd.txt
- tests/tests_pytest/TDCF_data/*.png
- tests/tests_pytest/TDCF_data/*Approx.txt
- tests/tests_pytest/TDCF_data/*Exact.txt
- tests/tests_pytest/pcal_data/*.png
- tests/tests_pytest/pcal_data/*Pcal_0*.txt
- tests/tests_pytest/pcal_data/*Pcal_1*.txt
- tests/tests_pytest/act_data/*.png
- tests/tests_pytest/act_data/*exc_0*.txt
- tests/tests_pytest/act_data/*exc_1*.txt
- tests/tests_pytest/State_Vector_data/*.png
- tests/tests_pytest/State_Vector_data/State_Vector_Approx.txt
- tests/tests_pytest/State_Vector_data/State_Vector_Exact.txt
expire_in: 24h
# Docker Images
Loading