Skip to content

Commit

Permalink
Run Test dll directly
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Aug 26, 2024
1 parent 8da7b94 commit edb3187
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,23 +102,26 @@ jobs:
run: dotnet run --project build/Build.csproj -- --target=Default
if: runner.os == 'Windows'

- name: Build Tests
run: dotnet build Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj

- name: Test
run: ${{github.workspace}}/dotnet64/dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj -p:WarningLevel=0 -v:d -tl:off --blame-hang-timeout 1m
run: ${{github.workspace}}/dotnet64/dotnet test artifacts/Tests/Tools/Release/MonoGame.Tools.Tests.dll --blame-hang-timeout 1m
env:
DOTNET_ROOT: ${{github.workspace}}/dotnet64
MGFXC_WINE_PATH: /home/runner/.winemonogame
if: runner.os == 'Linux'

# Not working yet they time out
# - name: Test
# run: ${{github.workspace}}/dotnet64/dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj -p:WarningLevel=0 -v:d -tl:off --blame-hang-timeout 1m
# run: ${{github.workspace}}/dotnet64/dotnet test test artifacts/Tests/Tools/Release/MonoGame.Tools.Tests.dll --blame-hang-timeout 1m
# env:
# DOTNET_ROOT: ${{github.workspace}}/dotnet64
# MGFXC_WINE_PATH: /Users/runner/.winemonogame
# if: runner.os == 'macOS'

- name: Test
run: dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj -p:WarningLevel=0 -v:d -tl:off --blame-hang-timeout 1m
run: dotnet test test artifacts/Tests/Tools/Release/MonoGame.Tools.Tests.dll --blame-hang-timeout 1m
if: runner.os == 'Windows'

- name: Expose GitHub Runtime
Expand Down

0 comments on commit edb3187

Please sign in to comment.