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
test_script:
- ps: cd $env:APPVEYOR_BUILD_FOLDER
# Run the tests
- python -m pytest tests
# Go back to the user root folder
- cd ..
- ps: >-
If (($env:APPVEYOR_REPO_TAG -eq $False)) {
cd $env:APPVEYOR_BUILD_FOLDER
# Run the tests
python -m pytest tests
# Go back to the user root folder
cd ..
}
after_test:
# Only package on the master repo