Skip to content
Snippets Groups Projects

Fix the CI again

Merged Duncan Macleod requested to merge duncanmmacleod/gwdatafind-server:fix-ci-again into master
1 file
+ 8
3
Compare changes
  • Side-by-side
  • Inline
+ 8
3
@@ -152,14 +152,19 @@ rpm:el8:
variables:
GIT_STRATEGY: "none"
INSTALL_TARGET: "gwdatafind-server-*.tar.*"
PYTEST_OPTIONS: "-ra -v tests/"
PYTHON: "python3"
stage: test
script:
# extract the tests from the tarball
- tar -xf ${INSTALL_TARGET} --wildcards "*/tests" --strip-components=1
# run the tests from the template
- !reference [".python:pytest", script]
# run the tests
- python3 -m pytest
--cov=gwdatafind_server
--cov-report=
--junitxml=junit.xml
-ra
-v
tests/
test:python3.6:
extends:
Loading