1 parent 02a2873 commit 2c82457Copy full SHA for 2c82457
1 file changed
.github/workflows/tests.yml
@@ -31,11 +31,18 @@ jobs:
31
32
- name: Run tests with coverage
33
run: |
34
- pytest --cov=multiviewstacking --cov-report=xml --cov-report=term-missing
+ 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)
41
42
- name: Upload coverage to Codecov
43
uses: codecov/codecov-action@v4
44
with:
45
+ token: ${{ secrets.CODECOV_TOKEN }} # remove if public repo
46
file: ./coverage.xml
47
flags: unittests
48
fail_ci_if_error: true
0 commit comments