Skip to content

Commit 4eef221

Browse files
committed
store tests results as json artifact, for the rsmp gem workflow
1 parent 8e1739d commit 4eef221

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/gem_tlc.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ jobs:
5353
bundle exec rspec spec/site \
5454
--format Validator::Brief \
5555
--format Validator::Details \
56-
--out validator-${{ steps.log_id.outputs.LOG_ID }}.log
56+
--out validator-${{ steps.log_id.outputs.LOG_ID }}.log \
57+
--format json \
58+
--out results-${{ steps.log_id.outputs.LOG_ID }}.json
5759
5860
env:
5961
SITE_CONFIG: config/gem_tlc.yaml
@@ -77,3 +79,10 @@ jobs:
7779
with:
7880
name: simulator-${{ steps.log_id.outputs.LOG_ID }}.log
7981
path: simulator-${{ steps.log_id.outputs.LOG_ID }}.log
82+
83+
- name: Upload results.log
84+
if: always()
85+
uses: actions/upload-artifact@v4
86+
with:
87+
name: results-${{ steps.log_id.outputs.LOG_ID }}.log
88+
path: results-${{ steps.log_id.outputs.LOG_ID }}.json

0 commit comments

Comments
 (0)