Skip to content

Commit f8eda02

Browse files
committed
ci: speed up coverage reporting
1 parent 6f23340 commit f8eda02

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,7 @@ jobs:
2020

2121
- run: yarn install --ignore-engines
2222
- run: yarn lint:nofix
23-
- run: yarn test
24-
coverage:
25-
needs: [build]
26-
name: coverage
27-
runs-on: ubuntu-latest
28-
steps:
29-
- uses: actions/checkout@v2
30-
- name: Setup Node JS
31-
uses: actions/setup-node@v2
32-
with:
33-
node-version: 16.x
34-
cache: yarn
35-
36-
- run: yarn install --ignore-engines
23+
- run: yarn test:cov
3724
- uses: paambaati/codeclimate-action@v3.0.0
3825
env:
3926
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_REPORTER_ID }}
40-
with:
41-
coverageCommand: yarn test:cov
42-
# 💀💀💀💀cannot run coveralls since GH won't pass COVERALLS_REPO_TOKEN to forks; so any PRs from external contributors would fail
43-
# - run: yarn coveralls
44-
# env:
45-
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
46-
# COVERALLS_GIT_BRANCH: ${{ github.ref }}

0 commit comments

Comments
 (0)