Generate and use pytest XML reports

This generates XML reports when we run pytest through poe, and
uploads them in the relevant CI stage.

I've also ignored mypy cache files - I'm not sure why this hasn't
been an issue before...
This commit is contained in:
Richard 2021-08-10 11:09:37 +01:00
parent 3e02fe4790
commit e33e92b43a
3 changed files with 10 additions and 1 deletions

View file

@ -102,6 +102,11 @@ pytest:
- tags
- web
artifacts:
when: always
reports:
junit: pytest_report.xml
openapi:
stage: testing
image: python:3.7