Skip to content

Commit 4f32b49

Browse files
committed
try fix test
1 parent 97ac4be commit 4f32b49

1 file changed

Lines changed: 12 additions & 31 deletions

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,19 @@ on:
1111
jobs:
1212
build-test:
1313
name: Build & Test
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
os: [windows-latest, ubuntu-latest]
18-
runs-on: ${{ matrix.os }}
19-
14+
runs-on: windows-latest
15+
2016
steps:
21-
- name: Checkout
22-
uses: actions/checkout@v6
23-
with:
24-
fetch-depth: 0
25-
submodules: recursive
26-
- uses: actions/setup-dotnet@v5
27-
with:
28-
dotnet-version: 10.0.x
29-
- name: Build & Test in Release Mode (Windows)
30-
if: runner.os == 'Windows'
31-
run: dotnet test --configuration Release --report-github
32-
33-
- name: Build & Test in Release Mode (Linux)
34-
if: runner.os == 'Linux'
35-
shell: bash
36-
# ExternalUpdater.App.Test is net481-only — it spawns the real ExternalUpdater.exe
37-
# and uses Windows-only helpers (cmd .bat stubs, ping.exe). It cannot run on Linux
38-
# (no mono in the runner image, and the helpers don't exist anyway). Build the
39-
# whole solution, then test every project except that one.
40-
run: |
41-
set -euo pipefail
42-
dotnet build --configuration Release
43-
for proj in $(find . -name '*.Test.csproj' -not -path '*/ExternalUpdater.App.Test/*'); do
44-
dotnet test "$proj" --no-build --configuration Release --report-github
45-
done
17+
- uses: actions/checkout@v6
18+
with:
19+
fetch-depth: 0
20+
submodules: recursive
21+
- uses: actions/setup-dotnet@v5
22+
with:
23+
dotnet-version: 10.0.x
24+
25+
- name: Build in Release Mode
26+
run: dotnet test --configuration Release --report-github
4627

4728
test-moddingtoolbase:
4829
name: Test ModdingToolBase

0 commit comments

Comments
 (0)