Commit 94fd9180 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'jheimbuck_gl-master-patch-14857' into 'master'

Add python example to junit docs

See merge request gitlab-org/gitlab!27731
parents fcb2b2e6 76bdb10c
......@@ -151,6 +151,21 @@ java:
- target/failsafe-reports/TEST-*.xml
```
### Python example
This example uses pytest with the `--junitxml=report.xml` flag to format the output
for JUnit:
```yaml
pytest:
stage: test
script:
- pytest --junitxml=report.xml
artifacts:
reports:
junit: report.xml
```
### C/C++ example
There are a few tools that can produce JUnit reports in C/C++.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment