Skip to content
Snippets Groups Projects
Commit e4c5bcc2 authored by ale's avatar ale
Browse files

Add JUnit XML test reports to CI; use stock Python test image

parent 1e4d80b3
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,10 @@ stages:
test:
stage: test
image: "debian:stable"
before_script: []
image: registry.git.autistici.org/ai3/docker/test/python:master
script:
- apt-get update
- env DEBIAN_FRONTEND=noninteractive apt-get -qy install python3 python3-setuptools python3-pip tox git
- tox
artifacts:
reports:
cobertura: coverage.xml
junit: nosetests.xml
......@@ -9,6 +9,6 @@ deps=
nose
mock
commands=
nosetests -vv --with-coverage --cover-package=ai_web_common --cover-erase --cover-html --cover-html-dir=htmlcov []
nosetests -vv --with-xunit --with-coverage --cover-package=ai_web_common --cover-erase --cover-html --cover-html-dir=htmlcov []
coverage xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment