Skip to content

Commit d6b84a4

Browse files
committed
Fix CI test artifact permissions
1 parent db4f528 commit d6b84a4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ jobs:
6161
# Restore is required even with --no-build so the test runner can locate packages
6262
run: dotnet restore VastAI.NET.slnx
6363

64+
- name: Restore xUnit v3 test app permissions
65+
# GitHub artifact downloads do not preserve executable bits. xUnit v3 test projects are
66+
# launched as test executables by the VSTest adapter, so Linux runners need this restored.
67+
run: find tests -path "*/bin/Debug/net10.0/*" -type f -name "*.Tests" -exec chmod +x {} \;
68+
6469
- name: Run tests
6570
run: dotnet test VastAI.NET.slnx --no-build --verbosity normal --logger trx --results-directory ./test-results
6671

0 commit comments

Comments
 (0)