Skip to content

Commit 5a77264

Browse files
committed
Fix pytest commands
1 parent 1b01af2 commit 5a77264

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.appveyor.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ build_script:
2424
- "pip install codecov"
2525

2626
test_script:
27-
- "mkdir empty"
28-
- "cd empty"
2927
# Make sure it's being imported from where we expect
3028
- "python -c \"import os, outcome; print(os.path.dirname(outcome.__file__))\""
31-
- "python -u -m pytest -W error -ra -v -s --pyargs outcome --cov=outcome --cov-config=../.coveragerc"
29+
- "python -u -m pytest -W error -ra -v -s --cov --cov-config=.coveragerc"
3230
- "codecov"

ci/travis.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ else
8888
# Actual tests
8989
pip install -Ur test-requirements.txt
9090

91-
mkdir empty
92-
cd empty
93-
94-
pytest -W error -ra -v --pyargs outcome --cov=outcome --cov-config=../.coveragerc --verbose
91+
pytest -W error -ra -v tests --cov --cov-config=.coveragerc
9592

9693
bash <(curl -s https://codecov.io/bash)
9794
fi

0 commit comments

Comments
 (0)