Skip to content

Commit

Permalink
store tests results as json artifact, for the rsmp gem workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
emiltin committed Jan 9, 2025
1 parent 8e1739d commit 4eef221
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/gem_tlc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:
bundle exec rspec spec/site \
--format Validator::Brief \
--format Validator::Details \
--out validator-${{ steps.log_id.outputs.LOG_ID }}.log
--out validator-${{ steps.log_id.outputs.LOG_ID }}.log \
--format json \
--out results-${{ steps.log_id.outputs.LOG_ID }}.json
env:
SITE_CONFIG: config/gem_tlc.yaml
Expand All @@ -77,3 +79,10 @@ jobs:
with:
name: simulator-${{ steps.log_id.outputs.LOG_ID }}.log
path: simulator-${{ steps.log_id.outputs.LOG_ID }}.log

- name: Upload results.log
if: always()
uses: actions/upload-artifact@v4
with:
name: results-${{ steps.log_id.outputs.LOG_ID }}.log
path: results-${{ steps.log_id.outputs.LOG_ID }}.json

0 comments on commit 4eef221

Please sign in to comment.