File tree Expand file tree Collapse file tree 1 file changed +10
-19
lines changed
Expand file tree Collapse file tree 1 file changed +10
-19
lines changed Original file line number Diff line number Diff line change @@ -55,27 +55,18 @@ jobs:
5555 uses : rwx-research/setup-abq@v1
5656 with :
5757 access-token : ${{ secrets.RWX_ACCESS_TOKEN }}
58+ - uses : rwx-research/setup-captain@v1
5859 - run : |
59- bundle exec rspec \
60- --format json --out tmp/rspec.json \
61- --format documentation
60+ captain run \
61+ --suite-id captain-examples-rspec \
62+ --test-results tmp/rspec.json \
63+ -- \
64+ bundle exec rspec \
65+ --format json --out tmp/rspec.json \
66+ --format documentation
67+ env:
68+ RWX_ACCESS_TOKEN: ${{ secrets.RWX_ACCESS_TOKEN }}
6269 timeout-minutes: 1
63- - name : Upload test results to Captain
64- uses : rwx-research/upload-captain-artifact@v1
65- if : ${{ matrix.ruby == 3.1 && matrix.gemfile == 3.12 && always() }}
66- continue-on-error : true
67- with :
68- artifacts : |
69- [
70- {
71- "name": "RSpec",
72- "path": "tmp/rspec.json",
73- "kind": "test_results",
74- "parser": "rspec_json"
75- }
76- ]
77- job-matrix : ${{ toJSON(matrix) }}
78- captain-token : ${{ secrets.RWX_ACCESS_TOKEN }}
7970
8071 # strategy borrowed from https://brunoscheufler.com/blog/2022-04-09-the-required-github-status-check-that-wasnt
8172 # this is used to summarize the matrix results into a single job (abq-work) that can be used as a required check
You can’t perform that action at this time.
0 commit comments