From 53a9e0b27e729e829cb558e2c92a5ed1094dea23 Mon Sep 17 00:00:00 2001 From: Jason Naylor Date: Tue, 12 Jul 2022 12:13:15 -0700 Subject: [PATCH] GHA testing, trying to gather all the test assemblies --- .github/workflows/ci-cd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 53c5107e..77973be2 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-latest, ubuntu-latest] + os: [windows-latest] runs-on: ${{ matrix.os }} env: DOTNET_NOLOGO: true @@ -38,6 +38,6 @@ jobs: - name: Run UnitTests run: | - find artifacts/ -type f -name '*Tests.dll' | paste -sd ' ' - echo "TESTASSEMBLIES=$(find artifacts/ -type f -name '*Tests.dll' | paste -sd ' ')" >> $GITHUB_ENV - ./NUnit.ConsoleRunner.3.13.0/tools/nunit3-console.exe ${{ env.TESTASSEMBLIES }} + echo "TESTASSEMBLIES=$((Get-ChildItem artifacts -recurse -file -include *Tests.dll -name) -join ' ')" >> $GITHUB_ENV + cd artifacts + ./NUnit.ConsoleRunner.3.13.0/tools/nunit3-console.exe ${{ env.TESTASSEMBLIES }} -output ../testresults.txt