Skip to content

Commit

Permalink
Excluding selenium install script from code coverage settings
Browse files Browse the repository at this point in the history
This is an install script for dependencies and we don't really want it

considered under code coverage.
  • Loading branch information
mtlynch committed Apr 5, 2016
1 parent 5908819 commit 232b834
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
# Build steps to validate client_wrapper.

# Run unit tests and calculate code coverage.
coverage run --source client_wrapper -m unittest discover &&
coverage run \
--source client_wrapper \
--omit client_wrapper/install_selenium_extensions.py \
-m unittest discover &&
# Check that source has correct formatting.
yapf --diff --recursive --style google ./ --exclude=./third_party/* &&
# Run static analysis for Python bugs/cruft.
Expand Down

0 comments on commit 232b834

Please sign in to comment.