Update tests.yaml

This commit is contained in:
Timothy Baldridge 2022-10-06 16:31:03 -06:00 committed by GitHub
parent 78adf4a415
commit 0eaa298b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,20 +37,10 @@ jobs:
with:
dotnet-version: '6.0.x'
include-prerelease: true
- name: Build
if: runner.os != 'Windows'
shell: bash
run: find Wabbajack.* -maxdepth 0 -type d ! -name "Wabbajack.App.Wpf" -exec dotnet build --configuration Release {} \;
- name: Build
if: runner.os == 'Windows'
shell: bash
run: find Wabbajack.* -maxdepth 0 -type d -exec dotnet build --configuration Release {} \;
- name: Test
shell: bash
run: find Wabbajack.*.Test -maxdepth 0 -type d ! -name "Wabbajack.App.Wpf" -exec dotnet test --filter "Category!=FlakeyNetwork" {} \;
run: find Wabbajack.*.Test -maxdepth 0 -type d ! -name "Wabbajack.App.Wpf" -exec dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --filter "Category!=FlakeyNetwork" {} \;
- uses: codecov/codecov-action@v3
with: