mirror of
https://github.com/coder/coder.git
synced 2026-06-06 22:48:19 +00:00
fix: Improve code coverage reporting in codecov (#2715)
* fix: Remove explicit coverpkg github.com/coder/coder/codersdk This package is already covered by ./... * fix: Ignore test utils in coverage (clitest, coderdtest, ptytest)
This commit is contained in:
committed by
GitHub
parent
6c5a142674
commit
d7dee2c069
@@ -297,7 +297,7 @@ jobs:
|
||||
# systems.
|
||||
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
|
||||
echo ::set-output name=cover::true
|
||||
export COVERAGE_FLAGS='-covermode=atomic -coverprofile="gotests.coverage" -coverpkg=./...,github.com/coder/coder/codersdk'
|
||||
export COVERAGE_FLAGS='-covermode=atomic -coverprofile="gotests.coverage" -coverpkg=./...'
|
||||
else
|
||||
echo ::set-output name=cover::false
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user