Fix dotnet test commands

- Explicit build was a painful mistake
This commit is contained in:
Jordan Brown
2020-12-18 02:10:44 -05:00
parent 0336a61929
commit 03bf84886a
+2 -8
View File
@@ -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