From 0ced14764f009d97e69ae0ce311fd6114ed775f3 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Thu, 17 Dec 2020 12:07:55 -0500 Subject: [PATCH] Explicitly build before running integration tests --- .github/workflows/ci-suite.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-suite.yml b/.github/workflows/ci-suite.yml index 90c3b85a8d..6db1ce86fe 100644 --- a/.github/workflows/ci-suite.yml +++ b/.github/workflows/ci-suite.yml @@ -223,11 +223,14 @@ jobs: TEMP_GITHUB_REF="${{ github.event.ref }}" echo "TGS4_GITHUB_REF=${TEMP_GITHUB_REF##*/}" >> $env:GITHUB_ENV + - name: Build + run: dotnet build -c ${{ matrix.configuration }} + - name: Run Integration Test run: | cd tests/Tgstation.Server.Tests Start-Sleep -Seconds 10 - dotnet test -c ${{ matrix.configuration }} -l "console;verbosity=detailed;noprogress=true" --collect:"XPlat Code Coverage" --settings ../../build/coverlet.runsettings -r ./TestResults + dotnet test -c ${{ matrix.configuration }} --no-build "console;verbosity=detailed;noprogress=true" --collect:"XPlat Code Coverage" --settings ../../build/coverlet.runsettings -r ./TestResults - name: Store Code Coverage uses: actions/upload-artifact@v2 @@ -367,11 +370,14 @@ jobs: TEMP_GITHUB_REF="${{ github.event.ref }}" echo "TGS4_GITHUB_REF=${TEMP_GITHUB_REF##*/}" >> $env:GITHUB_ENV + - name: Build + run: dotnet build -c ${{ matrix.configuration }} + - name: Run Integration Test run: | cd tests/Tgstation.Server.Tests sleep 10 - dotnet test -c ${{ matrix.configuration }} -l "console;verbosity=detailed;noprogress=true" --collect:"XPlat Code Coverage" --settings ../../build/coverlet.runsettings -r ./TestResults + dotnet test -c ${{ matrix.configuration }} --no-build -l "console;verbosity=detailed;noprogress=true" --collect:"XPlat Code Coverage" --settings ../../build/coverlet.runsettings -r ./TestResults - name: Store Code Coverage uses: actions/upload-artifact@v2