Skip to content

Commit e75d065

Browse files
authored
ci(commit.yml): fix silently failing test step (#2335)
The CI test step was suppressing errors, I think because we ran coverage immediately after. Move coverage to a subsequent step. This reveals a few failing tests which are not addressed in this changeset.
1 parent f378f84 commit e75d065

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/commit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,13 @@ jobs:
181181
working-directory: autotest
182182
run: |
183183
pytest -v -m="not example" -n=auto --cov=flopy --cov-append --cov-report=xml --durations=0 --keep-failed=.failed --dist loadfile
184-
coverage report
185184
env:
186185
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
187186

187+
- name: Report coverage
188+
working-directory: autotest
189+
run: coverage report
190+
188191
- name: Upload failed test outputs
189192
uses: actions/upload-artifact@v4
190193
if: failure()

0 commit comments

Comments
 (0)