Skip to content

Commit

Permalink
Run tests on installed package. (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
ceball committed Sep 10, 2020
1 parent eb0474e commit a9c58a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .appveyor-cron.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# TODO don't need to clone repo

environment:
matrix:
- PYTHON: "C:\\Python37"
Expand All @@ -12,5 +10,7 @@ install:
build: off

test_script:
# TODO update to run test suite when tests are in nbsmoke package
- xcopy /E /I tests %TMP%\\tests
- cd %TMP%
- python -c "import nbsmoke"
- pytest -v tests
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ jobs:
user: ceball
password: $PYPI_PWD

# TODO: don't need to clone the repo
- stage: test_latest_release
python: 3.7
install:
- pip install nbsmoke
script:
# TODO: when pytest's tests are in the package, run the tests!
- python -c "import nbsmoke"
- cp -r tests $HOME
- cd $HOME && python -c "import nbsmoke"
- cd $HOME && pytest -v tests

0 comments on commit a9c58a4

Please sign in to comment.