Commit 756a364e authored by Evan Read's avatar Evan Read

Merge branch 'docs-junit-yaml-spacing' into 'master'

Fix yaml spacing in junit doc

Closes #213294

See merge request gitlab-org/gitlab!28747
parents 001a182d 232098fb
......@@ -87,8 +87,8 @@ Use the following job in `.gitlab-ci.yml`. This includes the `artifacts:paths` k
ruby:
stage: test
script:
- bundle install
- rspec spec/lib/ --format RspecJunitFormatter --out rspec.xml
- bundle install
- rspec spec/lib/ --format RspecJunitFormatter --out rspec.xml
artifacts:
paths:
- rspec.xml
......@@ -105,8 +105,8 @@ Use the following job in `.gitlab-ci.yml`:
golang:
stage: test
script:
- go get -u github.com/jstemmer/go-junit-report
- go test -v 2>&1 | go-junit-report > report.xml
- go get -u github.com/jstemmer/go-junit-report
- go test -v 2>&1 | go-junit-report > report.xml
artifacts:
reports:
junit: report.xml
......@@ -127,7 +127,7 @@ matching by defining the following path: `build/test-results/test/**/TEST-*.xml`
java:
stage: test
script:
- gradle test
- gradle test
artifacts:
reports:
junit: build/test-results/test/**/TEST-*.xml
......@@ -143,7 +143,7 @@ reports, use the following job in `.gitlab-ci.yml`:
java:
stage: test
script:
- mvn verify
- mvn verify
artifacts:
reports:
junit:
......@@ -160,7 +160,7 @@ for JUnit:
pytest:
stage: test
script:
- pytest --junitxml=report.xml
- pytest --junitxml=report.xml
artifacts:
reports:
junit: report.xml
......@@ -181,7 +181,7 @@ will then be aggregated together.
cpp:
stage: test
script:
- gtest.exe --gtest_output="xml:report.xml"
- gtest.exe --gtest_output="xml:report.xml"
artifacts:
reports:
junit: report.xml
......@@ -210,7 +210,7 @@ Test:
- ./**/*test-result.xml
reports:
junit:
- ./**/*test-result.xml
- ./**/*test-result.xml
```
## Limitations
......
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