Skip to content

Commit 2f7264e

Browse files
try this workaround
1 parent 7661fd8 commit 2f7264e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/test.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
on: [push, pull_request]
22
name: Test
3-
# Workaround for coveralls error "Can't add a job to a build that is already closed"
4-
# See https://github.com/lemurheavy/coveralls-public/issues/1716
5-
env:
6-
COVERALLS_SERVICE_NUMBER: ${{ github.run_id }}-${{ github.run_attempt }}
73
jobs:
84
test:
95
strategy:
@@ -36,5 +32,5 @@ jobs:
3632
run: go get github.com/mattn/goveralls
3733
- name: Send coverage
3834
env:
39-
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}-${{ github.run_id }}-${{ github.run_attempt }}
4036
run: goveralls -coverprofile=.covprofile -service=github

0 commit comments

Comments
 (0)