Skip to content

Commit

Permalink
make unique pipeline test results
Browse files Browse the repository at this point in the history
  • Loading branch information
copiousfreetime committed Jan 10, 2023
1 parent 0f28ffd commit 8c4e208
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ doc/
*.swo
.gem/
.ruby-version
report.xml
10 changes: 4 additions & 6 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ blocks:
- bundle config set --local path vendor/bundle
- gem install --no-doc bundler:2.4.3
- bundle install
- TESTOPTS=--junit bundle exec rake test
global_job_config:
epilogue:
always:
commands:
- '[[ -f report.xml ]] && test-results publish report.xml'
- mkdir -p tmp/test-results/
- export TEST_RESULTS_FILE=tmp/test-results/${RUBY_VERSION}.xml
- TESTOPTS="--junit --junit-filename=${TEST_RESULTS_FILE}" bundle exec rake test
- test-results publish ${TEST_RESULTS_FILE}

after_pipeline:
task:
Expand Down

0 comments on commit 8c4e208

Please sign in to comment.