From 03bf84886a88c3958f005a194e985a828e58d896 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Fri, 18 Dec 2020 01:50:06 -0500 Subject: [PATCH] Fix dotnet test commands - Explicit build was a painful mistake --- .github/workflows/ci-suite.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-suite.yml b/.github/workflows/ci-suite.yml index 8cfdab57d3..02156ff449 100644 --- a/.github/workflows/ci-suite.yml +++ b/.github/workflows/ci-suite.yml @@ -223,14 +223,11 @@ 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 }} --no-build "console;verbosity=detailed;noprogress=true" --collect:"XPlat Code Coverage" --settings ../../build/coverlet.runsettings -r ./TestResults + dotnet test -c ${{ matrix.configuration }} -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 @@ -371,14 +368,11 @@ jobs: TEMP_GITHUB_REF="${{ github.event.ref }}" echo "TGS4_GITHUB_REF=${TEMP_GITHUB_REF##*/}" >> $GITHUB_ENV - - name: Build - run: dotnet build -c ${{ matrix.configuration }}NoService - - name: Run Integration Test run: | cd tests/Tgstation.Server.Tests sleep 10 - dotnet test -c ${{ matrix.configuration }}NoService --no-build -l "console;verbosity=detailed;noprogress=true" --collect:"XPlat Code Coverage" --settings ../../build/coverlet.runsettings -r ./TestResults + dotnet test -c ${{ matrix.configuration }}NoService -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