Skip to content

Commit 2a3b6fd

Browse files
Merge pull request #1609 from curvefi/chore/typecheck
ci: missing artifact and job name
2 parents 14c3321 + d817d0f commit 2a3b6fd

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ jobs:
5959
ELECTRON_ENABLE_LOGGING: true # send console logs to stdout in electron browser
6060
NODE_ENV: test
6161

62+
- uses: actions/upload-artifact@v4
63+
if: failure()
64+
with:
65+
name: cypress-component-${{ matrix.browser }}-${{ matrix.count }}
66+
path: tests/cypress/screenshots
67+
retention-days: 1
68+
if-no-files-found: error
69+
6270
cypress-component-rpc:
6371
name: Cypress component tests with RPC
6472
if: github.ref_name == 'main'
@@ -88,6 +96,8 @@ jobs:
8896
with:
8997
name: cypress-rpc
9098
path: tests/cypress/screenshots
99+
retention-days: 1
100+
if-no-files-found: error
91101

92102
cypress-e2e:
93103
strategy:
@@ -98,7 +108,7 @@ jobs:
98108
include:
99109
- browser: chrome
100110
count: 2
101-
name: Cypress in ${{ matrix.browser }} ${{ matrix.count }}
111+
name: Cypress e2e tests in ${{ matrix.browser }} ${{ matrix.count }}
102112
timeout-minutes: 15
103113
runs-on: ubuntu-latest
104114
steps:
@@ -134,7 +144,7 @@ jobs:
134144
- uses: actions/upload-artifact@v4
135145
if: failure()
136146
with:
137-
name: cypress-main-${{ matrix.browser }}-${{ matrix.count }}
147+
name: cypress-e2e-${{ matrix.browser }}-${{ matrix.count }}
138148
path: tests/cypress/screenshots
139149
retention-days: 1
140150
if-no-files-found: error

0 commit comments

Comments
 (0)