Skip to content

Commit

Permalink
Fixes coverage computation
Browse files Browse the repository at this point in the history
  • Loading branch information
targodan committed Jul 8, 2021
1 parent 8715f93 commit c60cf74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,12 @@ jobs:

- name: Running unit tests
run: go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg="$coverpkg" -v $(go list ./... | grep -v /acceptanceTests)
env:
coverpkg: github.com/fkie-cad/yapscan/...
- name: Running acceptance tests
run: go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg="$coverpkg" -v -quickchecks=${QUICKCHECKS:-100} -short .
env:
coverpkg: github.com/fkie-cad/yapscan/...
working-directory: acceptanceTests
- name: Consolidating coverage
run: cat acceptanceTests/coverage.txt | tail -n+2 >> coverage.txt && rm acceptanceTests/coverage.txt
Expand Down

0 comments on commit c60cf74

Please sign in to comment.