Skip to content

Commit 2c82457

Browse files
committed
Update yml
1 parent 02a2873 commit 2c82457

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,18 @@ jobs:
3131
3232
- name: Run tests with coverage
3333
run: |
34-
pytest --cov=multiviewstacking --cov-report=xml --cov-report=term-missing
34+
pytest --disable-warnings --cov=multiviewstacking --cov-report=xml --cov-report=term-missing
35+
36+
- name: Verify coverage file exists
37+
run: |
38+
echo "Listing coverage files..."
39+
ls -lah .
40+
test -f coverage.xml || (echo "X coverage.xml not found!" && exit 1)
3541
3642
- name: Upload coverage to Codecov
3743
uses: codecov/codecov-action@v4
3844
with:
45+
token: ${{ secrets.CODECOV_TOKEN }} # remove if public repo
3946
file: ./coverage.xml
4047
flags: unittests
4148
fail_ci_if_error: true

0 commit comments

Comments
 (0)