Skip to content

Commit

Permalink
GHA testing, trying to gather all the test assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonleenaylor committed Jul 12, 2022
1 parent bae1b9e commit 53a9e0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 53a9e0b

Please sign in to comment.