Skip to content

Commit

Permalink
chore: improve github actions for test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
luochen1990 committed Aug 7, 2024
1 parent bfaa662 commit 175e9b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ jobs:
COV_ARG="--cov=src --cov-report=term --cov-report=xml"
fi
export DEBUG=$RUNNER_DEBUG
if [ -n "$DEBUG" || -n "$COV_ARG" ]; then
if [ -n "$RUNNER_DEBUG" || -n "$COV_ARG" ]; then
export DEBUG=True
fi
if [ -n "$RUNNER_DEBUG" ]; then
DBG_ARG="-n0 -s"
else
DBG_ARG=""
Expand Down

0 comments on commit 175e9b4

Please sign in to comment.