Skip to content

Commit 841ed64

Browse files
committed
ci: report fails from test coverage on main only
1 parent 111761e commit 841ed64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/codeChecks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
8585

8686
- name: check test coverage
87-
continue-on-error: true
87+
continue-on-error: ${{ github.ref_name != 'main' }}
8888
uses: vladopajic/go-test-coverage@v2
8989
with:
9090
config: ./.testcoverage.yml

0 commit comments

Comments
 (0)