Skip to content

Commit ae888c5

Browse files
committed
Fail if .coverage.* files remain
1 parent e8b1eda commit ae888c5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/python-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ jobs:
7474
- name: Integration test
7575
run: |
7676
hatch run pyse --config-file test/data/config.toml --detection 5 --radius 400 --csv --force-beam test/data/GRB120422A-120429.fits
77+
- name: Fail if .coverage.* files remain
78+
run: |
79+
if ls .coverage.* 1> /dev/null 2>&1; then
80+
echo "Unable to concatenate all .coverage.* files. This is likely related to pyse using multiprocessing in one of the tests. Make sure 'allow_multiprocessing=False' in the pyse image configuration"
81+
exit 1
82+
fi
7783
7884
type-check:
7985
strategy:

0 commit comments

Comments
 (0)