Skip to content

Commit f1d7188

Browse files
committed
Update github verify workflow
1 parent 70ec893 commit f1d7188

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/verify.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,20 @@ jobs:
9898
RAILS_ENV: test
9999
run: bin/rspec
100100

101-
- name: Upload coverage reports to Codecov
102-
uses: codecov/[email protected]
101+
- name: Upload coverage results
102+
uses: actions/upload-artifact@v4
103+
if: always()
103104
with:
104-
token: ${{ secrets.CODECOV_TOKEN }}
105+
name: coverage-report
106+
path: coverage
107+
108+
- name: Keep screenshots from failed system tests
109+
uses: actions/upload-artifact@v4
110+
if: failure()
111+
with:
112+
name: screenshots
113+
path: ${{ github.workspace }}/tmp/capybara
114+
if-no-files-found: ignore
105115

106116
setup:
107117
name: Setup
@@ -183,11 +193,6 @@ jobs:
183193
run: |
184194
npm run test -- --watch=false
185195
186-
- name: Upload coverage reports to Codecov
187-
uses: codecov/[email protected]
188-
with:
189-
token: ${{ secrets.CODECOV_TOKEN }}
190-
191196
assets:
192197
name: Assets
193198
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)