Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 24 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,22 @@ jobs:
- uses: actions/checkout@v5

- name: Restore Dependencies (ubuntu)
run: dotnet restore
run: |
for project in tests/**/*.csproj; do
dotnet restore "$project"
done

- name: Build (ubuntu)
run: dotnet build --configuration Release --no-restore
run: |
for project in tests/**/*.csproj; do
dotnet build "$project" --configuration Release --no-restore
done

- name: Test (ubuntu)
run: dotnet test --configuration Release --no-build
run: |
for project in tests/**/*.csproj; do
dotnet test "$project" --configuration Release --no-build
done

test-windows:
runs-on: windows-2022
Expand All @@ -34,10 +43,19 @@ jobs:
dotnet-version: 10.0.x

- name: Restore Dependencies (windows)
run: dotnet restore
run: |
Get-ChildItem -Path tests -Filter *.csproj -Recurse | ForEach-Object {
dotnet restore $_.FullName
}

- name: Build (windows)
run: dotnet build --configuration Release --no-restore
run: |
Get-ChildItem -Path tests -Filter *.csproj -Recurse | ForEach-Object {
dotnet build $_.FullName --configuration Release --no-restore
}

- name: Test (windows)
run: dotnet test --configuration Release --no-build
run: |
Get-ChildItem -Path tests -Filter *.csproj -Recurse | ForEach-Object {
dotnet test $_.FullName --configuration Release --no-build
}
Loading