File tree Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -94,27 +94,20 @@ jobs:
94
94
- name : Build
95
95
run : dotnet run --project build/Build.csproj -- --target=Default
96
96
97
- - name : Test
98
- run : dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj --blame-hang-timeout 5m -c Release --filter="TestCategory!=Audio"
97
+ - name : Run Tests
98
+ run : |
99
+ if [ "$RUNNER_OS" == "Linux" ]; then
100
+ dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj --blame-hang-timeout 5m -c Release --filter="TestCategory!=Audio"
101
+ elif [ "$RUNNER_OS" == "Windows" ]; then
102
+ dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj --blame-hang-timeout 5m -c Release
103
+ else
104
+ dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj --blame-hang-timeout 5m -c Release --filter="TestCategory!=Audio"
105
+ fi
99
106
env :
100
107
DOTNET_ROOT : ${{github.workspace}}/dotnet64
101
108
MGFXC_WINE_PATH : /home/runner/.winemonogame
102
109
CI : true
103
- if : runner.os == 'Linux'
104
-
105
- - name : Test
106
- run : dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj --blame-hang-timeout 5m -c Release --filter="TestCategory!=Audio"
107
- env :
108
- DOTNET_ROOT : ${{github.workspace}}/dotnet64
109
- MGFXC_WINE_PATH : /Users/runner/.winemonogame
110
- CI : true
111
- if : runner.os == 'macOS'
112
-
113
- - name : Test
114
- run : dotnet test Tools/MonoGame.Tools.Tests/MonoGame.Tools.Tests.csproj --blame-hang-timeout 5m -c Release
115
- env :
116
- CI : true
117
- if : runner.os == 'Windows'
110
+ shell : bash
118
111
119
112
- name : Expose GitHub Runtime
120
113
uses : crazy-max/ghaction-github-runtime@v3
You can’t perform that action at this time.
0 commit comments