Skip to content

Commit 0c257bf

Browse files
committed
CI workflow fix
1 parent 8355112 commit 0c257bf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
with:
5656
name: build-output-Debug
5757

58+
- name: Restore execute permissions
59+
# upload-artifact/download-artifact strips POSIX execute bits.
60+
run: chmod +x ./tests/Smtp2Go.NET.UnitTests/bin/Debug/net10.0/Smtp2Go.NET.UnitTests
61+
5862
- name: Run unit tests
5963
# xUnit v3 test projects are standalone executables — dotnet test does not discover them.
6064
run: ./tests/Smtp2Go.NET.UnitTests/bin/Debug/net10.0/Smtp2Go.NET.UnitTests
@@ -83,6 +87,10 @@ jobs:
8387
with:
8488
name: build-output-Debug
8589

90+
- name: Restore execute permissions
91+
# upload-artifact/download-artifact strips POSIX execute bits.
92+
run: chmod +x ./tests/Smtp2Go.NET.IntegrationTests/bin/Debug/net10.0/Smtp2Go.NET.IntegrationTests
93+
8694
- name: Run integration tests (excluding webhook delivery)
8795
# Exclude webhook delivery tests (require cloudflared + tunnel infrastructure).
8896
# xUnit v3 uses -trait- (with trailing dash) to exclude tests by trait.

0 commit comments

Comments
 (0)