Skip to content

Commit

Permalink
Merge pull request #365 from l0b0/enforce-coverage-percentage
Browse files Browse the repository at this point in the history
Enforce coverage percentage
  • Loading branch information
lossyrob authored Jun 1, 2021
2 parents 6f4ca38 + a00a61a commit 86c1c6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[report]
fail_under = 89

[run]
source = pystac
2 changes: 1 addition & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
echo

# Test suite with coverage enabled
coverage run --source=pystac/ -m unittest discover tests/
coverage run -m unittest discover tests/
coverage xml
fi
fi

0 comments on commit 86c1c6d

Please sign in to comment.