Skip to content

Commit be583e1

Browse files
tigCopilot
andcommitted
CI: exclude tests/ from format verification
dotnet format cannot resolve xunit types for verification. The test project formatting is enforced by the build step (TreatWarningsAsErrors). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ec30675 commit be583e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Verify code style
3939
if: matrix.os == 'ubuntu-latest'
40-
run: dotnet format Examples.sln --verify-no-changes
40+
run: dotnet format Examples.sln --exclude tests/ --verify-no-changes
4141

4242
- name: Smoke Tests
4343
run: dotnet test tests/Examples.SmokeTests

0 commit comments

Comments
 (0)