Merge branch 'fix-appveyor-test-path2' into 'master'

Try to take appveyor mac/win differences regarding env variables into account.

See merge request openlp/openlp!219
This commit is contained in:
Tim Bentley 2020-07-21 13:50:40 +00:00
commit eac44f4f24
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ test_script:
after_test:
# Only package on the master repo
- ps: >-
If (!(Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME) -Or ($env:FORCE_PACKAGING -eq 1)) {
If (!(Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME) -Or ($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME -eq "") -Or ($env:FORCE_PACKAGING -eq 1)) {
# Continue on eror
$ErrorActionPreference = "Continue"
# This is where we create a package using PyInstaller