Skip to content

Commit cba013b

Browse files
author
Shyue Ping Ong
committed
Try to fix coverage upload.
1 parent 4dd6b4d commit cba013b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ jobs:
101101
- name: Upload coverage
102102
uses: actions/upload-artifact@v3
103103
with:
104-
name: backend-coverage
105-
path: coverage.xml
104+
name: coverage-${{ matrix.split }}
105+
path: .coverage
106106

107107
coverage:
108108
needs: test
@@ -113,8 +113,10 @@ jobs:
113113
uses: actions/download-artifact@v3
114114
- name: Upload coverage reports to Codecov
115115
uses: codecov/codecov-action@v3
116-
env:
117-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
116+
with:
117+
directory: .coverage
118+
token: ${{ secrets.CODECOV_TOKEN }}
119+
verbose: true
118120

119121
build_sdist:
120122
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.task == 'release')

0 commit comments

Comments
 (0)