Skip to content

Commit

Permalink
Create coverage profile for session browser test
Browse files Browse the repository at this point in the history
  • Loading branch information
mafredri committed May 11, 2022
1 parent 7b70e91 commit ee9fb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Expand Up @@ -22,7 +22,7 @@ jobs:
chrome --headless --disable-gpu --remote-debugging-port=9222 --disable-setuid-sandbox --no-sandbox about:blank &
chrome_pid=$!
go list -f '{{if len .TestGoFiles}}-coverprofile={{.Name}}_coverage.out {{.ImportPath}}{{end}}' ./... | xargs -L1 go test -race -covermode=atomic
go test ./session -browser -race -covermode=atomic
go test ./session -browser -race -covermode=atomic -coverprofile=session_-browser_coverage.out
go test . -browser
kill -9 $chrome_pid
- name: Upload coverage to Codecov
Expand Down

0 comments on commit ee9fb4e

Please sign in to comment.