AppVeyor: Don't run tests on tags

This commit is contained in:
Raoul Snyman 2021-09-02 11:10:46 -07:00
parent a03f208acc
commit d09c77f0a6

View File

@ -41,11 +41,14 @@ install:
build: off
test_script:
- ps: cd $env:APPVEYOR_BUILD_FOLDER
- ps: >-
If (($env:APPVEYOR_REPO_TAG -eq $False)) {
cd $env:APPVEYOR_BUILD_FOLDER
# Run the tests
- python -m pytest tests
python -m pytest tests
# Go back to the user root folder
- cd ..
cd ..
}
after_test:
# Only package on the master repo