Skip to content

Commit

Permalink
ci: enable deepsource coverage checker (#20)
Browse files Browse the repository at this point in the history
* ci: enable deepsource coverage checker

* ci: use actual commit rather than merge commit

see: https://docs.deepsource.com/docs/analyzers-test-coverage#with-github-actions
  • Loading branch information
acodeninja authored Sep 30, 2024
1 parent 85d884a commit aa35d98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ name = "javascript"
environment = [
"nodejs",
"browser"
]
]

[[analyzers]]
name = "test-coverage"
enabled = true
2 changes: 2 additions & 0 deletions .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: asdf-vm/actions/install@v3
- run: make init
- run: make test/coverage/report
Expand Down

0 comments on commit aa35d98

Please sign in to comment.