diff options
author | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2021-07-16 16:55:45 +0300 |
---|---|---|
committer | Matthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr> | 2021-07-21 14:33:07 +0300 |
commit | bbcfe56cfda85101fd409f90f748c358cdfdf417 (patch) | |
tree | 83a42be7bbec7fad601cf782375a9de51d084ef4 /appveyor.yml | |
parent | 360118634dcbb8dbae8803338cdf1a20912e6995 (diff) |
execute automated tests but do not fail if there are errors
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 3e7cdadb9..9c3166585 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,6 +15,10 @@ init: & "C:\Python39-x64\python.exe" "C:\CraftMaster\CraftMaster\CraftMaster.py" --config "$env:APPVEYOR_BUILD_FOLDER\appveyor.ini" --variables "APPVEYOR_BUILD_FOLDER=$env:APPVEYOR_BUILD_FOLDER" --target $env:TARGET -c $args if($LASTEXITCODE -ne 0) {exit $LASTEXITCODE} } + function crafttests() { + cmd /C "echo %PATH%" + & "C:\Python39-x64\python.exe" "C:\CraftMaster\CraftMaster\CraftMaster.py" --config "$env:APPVEYOR_BUILD_FOLDER\appveyor.ini" --variables "APPVEYOR_BUILD_FOLDER=$env:APPVEYOR_BUILD_FOLDER" --target $env:TARGET -c $args + } install: - ps: | @@ -32,7 +36,9 @@ build_script: cp C:\CraftMaster\windows-msvc2019_64-cl\tmp\*.7z $env:APPVEYOR_BUILD_FOLDER cp C:\CraftMaster\windows-msvc2019_64-cl\tmp\*.exe $env:APPVEYOR_BUILD_FOLDER -test: off +test_script: +- ps: | + crafttests --test --src-dir $env:APPVEYOR_BUILD_FOLDER nextcloud-client environment: matrix: |