Skip to content

Commit

Permalink
CI: Disable coverage report on windows - can't figure out why it crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldmccarthy committed Dec 31, 2020
1 parent e568e65 commit c1d3f0f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .ci/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ if [[ -n "$NELEMS" ]]; then
NELEMS="--nelems $NELEMS"
fi

# No coverage on windows, because coverage or
# pytest-cov seem to have trouble with threading/
# multiproc, which causes the coverage report
# generation to sporadically fail
#
# https://github.com/pytest-dev/pytest-cov/issues/406
if [[ "$PLATFORM" == "windows"* ]]; then
EXTRA_ARGS="$EXTRA_ARGS --no-cov"
fi

python -m indexed_gzip.tests \
-c setup.cfg \
--cov-config=./.coveragerc \
Expand Down

0 comments on commit c1d3f0f

Please sign in to comment.