We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad3fafb commit fd4b331Copy full SHA for fd4b331
1 file changed
.github/workflows/test_and_deploy.yml
@@ -114,8 +114,22 @@ jobs:
114
115
- name: Show pytest summary (if available)
116
if: always()
117
+ shell: bash
118
run: |
- if [ -f .tox/*/coverage.xml ]; then echo "Coverage file present"; fi
119
+ set -euo pipefail
120
+ echo "Checking for coverage.xml..."
121
+ FOUND=0
122
+ if [ -f coverage.xml ]; then
123
+ echo "Found coverage.xml at repo root"; FOUND=1
124
+ fi
125
+ # Glob inside .tox envs (quiet if none)
126
+ if ls .tox/*/coverage.xml >/dev/null 2>&1; then
127
+ echo "Found coverage.xml inside .tox environment"; FOUND=1
128
129
+ if [ "$FOUND" -eq 0 ]; then
130
+ echo "No coverage.xml found (this may be fine if tests were skipped).";
131
+ ls -al . | sed -n '1,120p'
132
133
134
- name: Coverage
135
uses: codecov/codecov-action@v3
0 commit comments