Skip to content
Snippets Groups Projects
Commit 6dd2c9e510a3 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

feat(py3/py27): integrate pytest-html

parent 0894411e82b0
No related branches found
No related tags found
1 merge request!6feat(py3/py27): integrate pytest-html
Pipeline #65933 passed
--- ---
py27: py27:
before_script: before_script:
- pip install tox - pip install tox pytest-html
stage: tests stage: tests
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
stage: tests stage: tests
script: tox -e py27 script: tox -e py27 -- --html=py3.html --self-contained-html
artifacts: artifacts:
paths: paths:
...@@ -7,3 +7,4 @@ ...@@ -7,3 +7,4 @@
artifacts: artifacts:
paths: paths:
- py27.html
- py27-deprecated-warnings.json - py27-deprecated-warnings.json
--- ---
py3: py3:
before_script: before_script:
- pip install tox - pip install tox pytest-html
stage: tests stage: tests
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
stage: tests stage: tests
script: tox -e py3 -- --junitxml=report.xml script: tox -e py3 -- --junitxml=report.xml --html=py3.html --self-contained-html
artifacts: artifacts:
when: always when: always
reports: reports:
junit: report.xml junit: report.xml
paths: paths:
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
artifacts: artifacts:
when: always when: always
reports: reports:
junit: report.xml junit: report.xml
paths: paths:
- py3.html
- py3-deprecated-warnings.json - py3-deprecated-warnings.json
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment