Skip to content

Commit 39c2db2

Browse files
author
Filip Schouwenaars
committed
simplify ignoring of tests folder
1 parent 4a19e1b commit 39c2db2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.coveragerc

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[run]
2-
source=pythonwhat
3-
omit=*tests*
2+
source=pythonwhat

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ before_install:
77
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin dockerhub.datacamp.com:443
88
- docker build --build-arg GH_TOKEN=$GH_TOKEN -t local/pythonwhat .
99

10-
script: docker run -it local/pythonwhat /bin/bash -c "pip3 install -e . && pytest --cov=./ && codecov --token=$CODECOV_TOKEN"
10+
script: docker run -it local/pythonwhat /bin/bash -c "pip3 install -e . && pytest --cov=pythonwhat && codecov --token=$CODECOV_TOKEN"
1111
deploy:
1212
provider: pypi
1313
user: machow

0 commit comments

Comments
 (0)