From a00e0231a090d7fbb706932cbd370a19380a7f3c Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Thu, 2 Dec 2021 07:04:04 -0700 Subject: [PATCH] Fix tests? --- .github/workflows/tests.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 0181b2e6..54eeddce 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -38,12 +38,19 @@ jobs: dotnet-version: '6.0.x' include-prerelease: true - - name: Install dependencies - run: dotnet restore - name: Build - run: dotnet build --configuration Release --no-restore + 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 - run: dotnet test --no-restore --filter "Category!=FlakeyNetwork" + shell: bash + run: find Wabbajack.*.Test -maxdepth 0 -type d ! -name "Wabbajack.App.Wpf" -exec dotnet test --filter "Category!=FlakeyNetwork" {} \; #- name: Upload Test Folder on Failure # if: ${{ failure() }}