Skip to content

Commit

Permalink
Refactor custom tasks to use shared code
Browse files Browse the repository at this point in the history
  • Loading branch information
pronovic committed Oct 26, 2022
1 parent 1188a39 commit 4550b56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .run/tasks/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ task_test() {

poetry_run coverage report
if [ $html == "yes" ]; then
# Use 'start' on Windows, and 'open' on MacOS and Debian (post-bullseye)
poetry_run coverage html -d .htmlcov
$(which start || which open) .htmlcov/index.html 2>/dev/null
run_command openfile .htmlcov/index.html
fi
else
poetry run supybot-test --clean --plugins-dir=src HcoopMeetbot
Expand Down

0 comments on commit 4550b56

Please sign in to comment.