From d09c77f0a638810cdd1a9271e8daa2ba3cfa1c39 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Thu, 2 Sep 2021 11:10:46 -0700 Subject: [PATCH] AppVeyor: Don't run tests on tags --- appveyor.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 17aa053bb..00fd55e93 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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