Skip to content
Snippets Groups Projects
Commit 20e1f527 authored by nimrod's avatar nimrod
Browse files

Collect bats test results.

Convert them to the jUnit format and add them as a report.
parent 07e9fd5b
Branches
No related tags found
No related merge requests found
Pipeline #277 passed
...@@ -21,4 +21,11 @@ bats: ...@@ -21,4 +21,11 @@ bats:
- git config --global user.email "you@example.com" - git config --global user.email "you@example.com"
- git config --global user.name "Your Name" - git config --global user.name "Your Name"
script: script:
- bats tests/ - bats tests/ | tee results.tap
after_script:
# yamllint disable-line rule:line-length
- wget https://github.com/cloudbees-oss/juxr/releases/download/0.1.22/juxr-x86_64-unknown-linux-musl.tar.gz -O - | tar -xz
- ./juxr tap --name bats --output results/ -- cat results.tap
artifacts:
reports:
junit: results/*.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment