Skip to content

Commit

Permalink
ci: disable coveralls on branches
Browse files Browse the repository at this point in the history
  • Loading branch information
marabesi committed Feb 25, 2024
1 parent b33640e commit 19d4e99
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,13 @@ jobs:
key: ${{ hashFiles('**/package-lock.json') }}

- name: coverage
env:
DISPLAY: ':99.0'
if: github.ref == 'refs/heads/main'
run: npm run coveralls

- name: coverage (no coveralls)
if: github.ref != 'refs/heads/main'
run: npm run coverage

#- name: memory leak detection
# run: npm run test -- --detectLeaks

Expand Down

0 comments on commit 19d4e99

Please sign in to comment.