Skip to content

Commit 1648d34

Browse files
committed
Fix CI: update test paths from net8.0 to net10.0
Missed during .NET 10 migration — test DLL paths and artifact permissions still referenced _tests/net8.0/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 29a9f4d commit 1648d34

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ jobs:
147147
matrix:
148148
include:
149149
- shard: core
150-
assemblies: _tests/net8.0/Gamarr.Core.Test.dll
150+
assemblies: _tests/net10.0/Gamarr.Core.Test.dll
151151
- shard: other
152-
assemblies: _tests/net8.0/Gamarr.Common.Test.dll _tests/net8.0/Gamarr.Host.Test.dll _tests/net8.0/Gamarr.Api.Test.dll _tests/net8.0/Gamarr.Libraries.Test.dll _tests/net8.0/Gamarr.Update.Test.dll _tests/net8.0/Gamarr.Mono.Test.dll _tests/net8.0/Gamarr.Windows.Test.dll
152+
assemblies: _tests/net10.0/Gamarr.Common.Test.dll _tests/net10.0/Gamarr.Host.Test.dll _tests/net10.0/Gamarr.Api.Test.dll _tests/net10.0/Gamarr.Libraries.Test.dll _tests/net10.0/Gamarr.Update.Test.dll _tests/net10.0/Gamarr.Mono.Test.dll _tests/net10.0/Gamarr.Windows.Test.dll
153153
steps:
154154
- name: Checkout
155155
uses: actions/checkout@v6
@@ -168,7 +168,7 @@ jobs:
168168

169169
- name: Fix artifact permissions
170170
run: |
171-
find _tests/net8.0 _output -maxdepth 1 -type f -exec file {} + | grep -iE 'ELF|executable' | cut -d: -f1 | xargs -r chmod +x
171+
find _tests/net10.0 _output -maxdepth 1 -type f -exec file {} + | grep -iE 'ELF|executable' | cut -d: -f1 | xargs -r chmod +x
172172
173173
- name: Run Unit Tests
174174
shell: bash
@@ -290,15 +290,15 @@ jobs:
290290

291291
- name: Fix artifact permissions
292292
run: |
293-
find _tests/net8.0 _output -maxdepth 1 -type f -exec file {} + | grep -iE 'ELF|executable' | cut -d: -f1 | xargs -r chmod +x
293+
find _tests/net10.0 _output -maxdepth 1 -type f -exec file {} + | grep -iE 'ELF|executable' | cut -d: -f1 | xargs -r chmod +x
294294
295295
- name: Run Integration Tests
296296
shell: bash
297297
run: |
298298
sudo unshare --net -- bash -c '
299299
ip link set lo up
300300
runuser -u runner -- \
301-
dotnet test _tests/net8.0/Gamarr.Integration.Test.dll \
301+
dotnet test _tests/net10.0/Gamarr.Integration.Test.dll \
302302
--filter "Category=IntegrationTest" \
303303
--logger "trx;LogFileName=integration-test-results.trx" \
304304
--results-directory ./test-results
@@ -307,7 +307,7 @@ jobs:
307307
- name: Run External Integration Tests
308308
shell: bash
309309
run: |
310-
dotnet test _tests/net8.0/Gamarr.Integration.Test.dll \
310+
dotnet test _tests/net10.0/Gamarr.Integration.Test.dll \
311311
--filter "Category=ExternalIntegrationTest" \
312312
--logger "trx;LogFileName=external-integration-test-results.trx" \
313313
--results-directory ./test-results
@@ -358,8 +358,8 @@ jobs:
358358

359359
- name: Fix artifact permissions
360360
run: |
361-
find _tests/net8.0 _output -maxdepth 1 -type f -exec file {} + | grep -iE 'ELF|executable' | cut -d: -f1 | xargs -r chmod +x
362-
chmod +x _tests/net8.0/.playwright/node/linux-x64/node
361+
find _tests/net10.0 _output -maxdepth 1 -type f -exec file {} + | grep -iE 'ELF|executable' | cut -d: -f1 | xargs -r chmod +x
362+
chmod +x _tests/net10.0/.playwright/node/linux-x64/node
363363
364364
- name: Cache Playwright browsers
365365
id: playwright-cache
@@ -370,26 +370,26 @@ jobs:
370370

371371
- name: Install Playwright browsers
372372
if: steps.playwright-cache.outputs.cache-hit != 'true'
373-
run: pwsh _tests/net8.0/playwright.ps1 install --with-deps
373+
run: pwsh _tests/net10.0/playwright.ps1 install --with-deps
374374

375375
- name: Install Playwright deps only
376376
if: steps.playwright-cache.outputs.cache-hit == 'true'
377-
run: pwsh _tests/net8.0/playwright.ps1 install-deps
377+
run: pwsh _tests/net10.0/playwright.ps1 install-deps
378378

379379
- name: Run Automation Tests
380380
run: |
381381
sudo unshare --net -- bash -c '
382382
ip link set lo up
383383
runuser -u runner -- \
384-
dotnet test _tests/net8.0/Gamarr.Automation.Test.dll \
384+
dotnet test _tests/net10.0/Gamarr.Automation.Test.dll \
385385
--filter "Category=AutomationTest&Category!=ExternalAutomationTest" \
386386
--logger "trx;LogFileName=automation-test-results.trx" \
387387
--results-directory ./test-results
388388
'
389389
390390
- name: Run External Automation Tests
391391
run: |
392-
dotnet test _tests/net8.0/Gamarr.Automation.Test.dll \
392+
dotnet test _tests/net10.0/Gamarr.Automation.Test.dll \
393393
--filter "Category=ExternalAutomationTest" \
394394
--logger "trx;LogFileName=external-automation-test-results.trx" \
395395
--results-directory ./test-results

0 commit comments

Comments
 (0)