From 17659028f14b77554b8f46d26acb2cfdd74a9e6b Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Tue, 14 Apr 2020 10:10:45 -0400 Subject: [PATCH] appveyor: make test artifacts available for inspection For debugging test failures, package test artifacts and make them available for download. Exclude certain files to reduce size of the compressed archive. Suggested-by: Sitsofe Wheeler Signed-off-by: Vincent Fu --- .appveyor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 2f962c4b..e2351be7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -25,8 +25,11 @@ after_build: test_script: - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test' - - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && python.exe t/run-fio-tests.py --debug' + - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && [ -f fio.exe ] && python.exe t/run-fio-tests.py --artifact-root test-artifacts --debug' + - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && [ -d test-artifacts ] && 7z a -t7z test-artifacts.7z test-artifacts -xr!foo.0.0 -xr!latency.?.0 -xr!fio_jsonplus_clat2csv.test' artifacts: - path: os\windows\*.msi name: msi + - path: test-artifacts.7z + name: test-artifacts -- 2.25.1