Skip to content

Commit e928213

Browse files
committed
ci: allow coveralls to fail silently due to outage
1 parent 2b797b4 commit e928213

1 file changed

Lines changed: 22 additions & 20 deletions

File tree

.github/workflows/test.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,34 @@ jobs:
1515
node-version: [16, 18, 20, 22, 24]
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v4
1919

20-
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v4
22-
with:
23-
node-version: ${{ matrix.node-version }}
24-
25-
- run: npm ci
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
2624

27-
- run: npm run test:coverage
25+
- run: npm ci
2826

29-
- name: Coveralls GitHub Action
30-
uses: coverallsapp/github-action@v2
31-
with:
32-
github-token: ${{ secrets.GITHUB_TOKEN }}
33-
parallel: true
34-
flag-name: ${{ matrix.node-version }}
27+
- run: npm run test:coverage
28+
29+
- name: Coveralls GitHub Action
30+
uses: coverallsapp/github-action@v2
31+
continue-on-error: true
32+
with:
33+
github-token: ${{ secrets.GITHUB_TOKEN }}
34+
parallel: true
35+
flag-name: ${{ matrix.node-version }}
3536

3637
finish:
3738
needs: test
3839
if: ${{ always() }}
3940
runs-on: ubuntu-latest
4041
steps:
41-
- name: Coveralls Finished
42-
uses: coverallsapp/github-action@v2
43-
with:
44-
github-token: ${{ secrets.GITHUB_TOKEN }}
45-
parallel-finished: true
46-
carryforward: "16,18,20,22,24"
42+
- name: Coveralls Finished
43+
uses: coverallsapp/github-action@v2
44+
continue-on-error: true
45+
with:
46+
github-token: ${{ secrets.GITHUB_TOKEN }}
47+
parallel-finished: true
48+
carryforward: "16,18,20,22,24"

0 commit comments

Comments
 (0)