Skip to content

Commit

Permalink
prettierx: no code coverage in GitHub action
Browse files Browse the repository at this point in the history
do not enable code coverage in .github/workflows/dev-test.yml
  • Loading branch information
brodybits committed Apr 12, 2021
1 parent 4be76fe commit bb0d7f3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/dev-test.yml
Expand Up @@ -24,11 +24,12 @@ jobs:
node:
- "12"
- "10"
include:
# only enable coverage on the fastest job
- os: "ubuntu-latest"
node: "12"
ENABLE_CODE_COVERAGE: true
# [prettierx] code coverage not enabled:
# include:
# # only enable coverage on the fastest job
# - os: "ubuntu-latest"
# node: "12"
# ENABLE_CODE_COVERAGE: true
exclude:
- os: "macos-latest"
node: "13"
Expand All @@ -53,6 +54,7 @@ jobs:
- name: Run Tests
run: yarn test --maxWorkers=4

# [prettierx] code coverage not enabled (see above)
- name: Upload Coverage
uses: codecov/codecov-action@v1
if: matrix.ENABLE_CODE_COVERAGE
Expand All @@ -67,6 +69,7 @@ jobs:
env:
PRETTIER_FALLBACK_RESOLVE: true

# [prettierx] code coverage not enabled (see above)
- name: Upload Coverage (PRETTIER_FALLBACK_RESOLVE)
uses: codecov/codecov-action@v1
if: matrix.ENABLE_CODE_COVERAGE
Expand Down

0 comments on commit bb0d7f3

Please sign in to comment.