Skip to content

Commit

Permalink
Merge pull request #4065 from ProjectMirador/no-coverage
Browse files Browse the repository at this point in the history
Don't run coverage by default (slows down local development)
  • Loading branch information
marlo-longley authored Dec 19, 2024
2 parents 05194d8 + 7dfb7d8 commit d350a7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- run: npm test -- --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
env:
Expand Down
4 changes: 0 additions & 4 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ export default defineConfig({
},
},
test: {
coverage: {
all: true,
enabled: true,
},
environment: 'happy-dom',
exclude: ['node_modules'],
globals: true,
Expand Down

0 comments on commit d350a7a

Please sign in to comment.