Merge branch 'dont-run-tests-on-tag' into 'master'

AppVeyor: Don't run tests on tags

See merge request openlp/openlp!353
This commit is contained in:
Raoul Snyman 2021-09-02 20:24:58 +00:00
commit 59c55fea4c

View File

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