diff options
author | Paul Ganssle <paul@ganssle.io> | 2017-11-01 14:02:48 -0400 |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2017-11-05 10:21:27 -0500 |
commit | aa46c73eafb9cfe36cdc0f6c5c5680edd6192c79 (patch) | |
tree | 0e5d74fa7a54d639314d4a2cc9ee5ddf28fcf26d /appveyor.yml | |
parent | 6a3f2167feb52c09e6ccd529542016c72372d5c4 (diff) | |
download | dateutil-aa46c73eafb9cfe36cdc0f6c5c5680edd6192c79.tar.gz |
Update test runner to use pytest
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 60ed057..f60d632 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -23,6 +23,8 @@ install: - "%pip_cmd% install six" - "%pip_cmd% install coverage" - "%pip_cmd% install codecov" + - "%pip_cmd% install pytest" + - "%pip_cmd% install freezegun" # This frequently fails with network errors, so we'll retry it up to 5 times # with a 1 minute rate limit. @@ -30,6 +32,6 @@ install: # This environment variable tells the test suite it's OK to mess with the time zone. - set DATEUTIL_MAY_CHANGE_TZ=1 test_script: - - "coverage run --omit=setup.py,dateutil/test/* setup.py test" + - "coverage run --omit=setup.py,dateutil/test/* -m pytest" after_test: - "codecov" |