Skip to content

Commit c67d4f5

Browse files
committed
ci(codeclimate): only gather coverage on ubuntu & node 14
1 parent 7dc5c0f commit c67d4f5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/jest.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
restore-keys: ${{ matrix.os }}-${{ matrix.node_version }}-yarn-
3333

3434
- name: Install Code Climate test reporter
35+
if: matrix.node_version == 14 && matrix.os == 'ubuntu-latest'
3536
uses: amancevice/setup-code-climate@v0
3637
with:
3738
cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }}
@@ -43,6 +44,7 @@ jobs:
4344
run: yarn bootstrap
4445

4546
- name: Code Climate test reporter (before build)
47+
if: matrix.node_version == 14 && matrix.os == 'ubuntu-latest'
4648
run: cc-test-reporter before-build
4749

4850
- name: Jest with code coverage
@@ -55,4 +57,4 @@ jobs:
5557

5658
- name: Code Climate test reporter (after build)
5759
run: cc-test-reporter after-build
58-
if: ${{ github.event_name != 'pull_request' }}
60+
if: ${{ github.event_name != 'pull_request' }} && matrix.node_version == 14 && matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)