Skip to content

Commit bf20b46

Browse files
authored
Merge pull request #55 from THD-Spatial-AI/testing/test-coverage
Testing/test coverage
2 parents 6d70af0 + 209f4cf commit bf20b46

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/go.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ jobs:
2525
- name: Test
2626
run: go test -v -coverprofile=coverage.out -covermode=atomic ./...
2727

28-
- name: Upload coverage to Codecov
28+
- name: Coverage
29+
run: go test -coverprofile=coverage.txt
30+
31+
- name: Upload coverage reports to Codecov
2932
uses: codecov/codecov-action@v5
3033
with:
31-
files: coverage.out
32-
fail_ci_if_error: false
34+
token: ${{ secrets.CODECOV_TOKEN }}
3335

3436
integration:
3537
name: Integration Tests

0 commit comments

Comments
 (0)