From 1f8973c06804743b2c6a291db27486e882e4aa6f Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Thu, 27 Jul 2023 19:47:40 -0400 Subject: [PATCH] Add missing BYOND zip cache to unit test jobs --- .github/workflows/ci-pipeline.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index c6b420c33c..ba562b4b4d 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -264,6 +264,13 @@ jobs: - name: Build run: dotnet build -c ${{ matrix.configuration }}NoWindows + - name: Cache BYOND .zips + uses: actions/cache@v3 + id: cache-byond + with: + path: ~/byond-zips-cache + key: byond-zips + - name: Run Unit Tests run: sudo dotnet test --no-build --logger "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true" --filter TestCategory!=RequiresDatabase -c ${{ matrix.configuration }}NoWindows --collect:"XPlat Code Coverage" --settings build/ci.runsettings --results-directory ./TestResults tgstation-server.sln @@ -307,6 +314,13 @@ jobs: - name: Build run: dotnet build -c ${{ matrix.configuration }}NoWix + - name: Cache BYOND .zips + uses: actions/cache@v3 + id: cache-byond + with: + path: ~/byond-zips-cache + key: byond-zips + - name: Run Unit Tests run: dotnet test --no-build --logger "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true" --filter TestCategory!=RequiresDatabase -c ${{ matrix.configuration }}NoWix --collect:"XPlat Code Coverage" --settings build/ci.runsettings --results-directory ./TestResults tgstation-server.sln