From 67bfaee0945cf37f80ab13960fbd2a2ad189ca62 Mon Sep 17 00:00:00 2001 From: Koji Hasegawa Date: Sun, 24 Mar 2024 11:53:21 +0900 Subject: [PATCH] Fix save screenshot directory run on workflow refs #63 --- .github/workflows/test.yml | 3 +-- Makefile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3eb722d..336a7d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -89,7 +89,7 @@ jobs: unityVersion: ${{ matrix.unityVersion }} # Default is `auto` checkName: test result (${{ matrix.unityVersion }}) projectPath: ${{ env.CREATED_PROJECT_PATH }} - customParameters: -testCategory "!IgnoreCI" -testHelperScreenshotDirectory Screenshots + customParameters: -testCategory "!IgnoreCI" -testHelperScreenshotDirectory /github/workspace/artifacts/Screenshots coverageOptions: generateAdditionalMetrics;generateTestReferences;generateHtmlReport;generateAdditionalReports;dontClear;assemblyFilters:${{ env.assembly_filters }} # see: https://docs.unity3d.com/Packages/com.unity.testtools.codecoverage@1.2/manual/CoverageBatchmode.html env: @@ -113,7 +113,6 @@ jobs: path: | ${{ steps.test.outputs.artifactsPath }} ${{ steps.test.outputs.coveragePath }} - Screenshots if: always() notify: diff --git a/Makefile b/Makefile index 3f7b9e5..3e3e0a4 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ endif ifdef CATEGORY TEST_CATEGORY=-testCategory "$(CATEGORY)" else -TEST_CATEGORY=-testCategory "!IgnoreCI;!Integration" +TEST_CATEGORY=-testCategory "!IgnoreCI" endif # -testFilter option. see https://docs.unity3d.com/Packages/com.unity.test-framework@1.3/manual/reference-command-line.html#testfilter