ci: zblerg, try to fix the coverage thingy computing coverage on test and vendor files x_x

This commit is contained in:
Alexandre Aubin 2023-02-21 19:44:51 +01:00
parent 8724329738
commit 90b8e78eff
2 changed files with 2 additions and 2 deletions

View file

@ -1,2 +1,2 @@
[report] [report]
omit=src/tests/*,src/vendor/*,/usr/lib/moulinette/yunohost/* omit=src/tests/*,src/vendor/*,/usr/lib/moulinette/yunohost/*,/usr/lib/python3/dist-packages/yunohost/tests/*,/usr/lib/python3/dist-packages/yunohost/vendor/*

View file

@ -36,7 +36,7 @@ full-tests:
- *install_debs - *install_debs
- yunohost tools postinstall -d domain.tld -u syssa -F 'Syssa Mine' -p the_password --ignore-dyndns --force-diskspace - yunohost tools postinstall -d domain.tld -u syssa -F 'Syssa Mine' -p the_password --ignore-dyndns --force-diskspace
script: script:
- python3 -m pytest --cov=yunohost tests/ src/tests/ src/diagnosers/ --junitxml=report.xml - python3 -m pytest --cov=yunohost tests/ src/tests/ --junitxml=report.xml
- cd tests - cd tests
- bash test_helpers.sh - bash test_helpers.sh
needs: needs: