We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5852d6 commit 3a02507Copy full SHA for 3a02507
1 file changed
.github/workflows/go.yml
@@ -28,8 +28,12 @@ jobs:
28
29
- name: Test
30
# TODO(henvic): Skip generating code coverage when not sending it to Coveralls to speed up testing.
31
+ # Remove example directory from code coverage explicitly since after #26 it
32
+ # started being considered on the code coverage report and we don't want that.
33
continue-on-error: ${{ matrix.os != 'ubuntu-latest' || matrix.go != '1.23.x' }}
- run: go test -race -covermode atomic -coverprofile=profile.cov ./...
34
+ run: |
35
+ go test -race -covermode atomic -coverprofile=profile.cov ./...
36
+ sed -i '/^github\.com\/henvic\/httpretty\/example\//d' profile.cov
37
38
- name: Code coverage
39
if: ${{ matrix.os == 'ubuntu-latest' && matrix.go == '1.23.x' }}
0 commit comments