Skip to content

Commit 8975d7c

Browse files
committed
fix(ci): exclude E2E project from Full Test Suite
Run specific test projects instead of the whole solution to avoid loading Playwright assemblies that require browser installation. E2E tests already run in the dedicated e2e-tests job.
1 parent b150b9a commit 8975d7c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/coreident-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,12 @@ jobs:
117117
- name: Build
118118
run: dotnet build CoreIdent.sln --no-restore -c Release
119119

120-
- name: Run All Tests
121-
run: dotnet test CoreIdent.sln --no-build -c Release --filter "Category!=E2E" --verbosity minimal --collect:"XPlat Code Coverage"
120+
- name: Run All Tests (excluding E2E)
121+
run: |
122+
dotnet test tests/CoreIdent.Core.Tests --no-build -c Release --verbosity minimal --collect:"XPlat Code Coverage"
123+
dotnet test tests/CoreIdent.Integration.Tests --no-build -c Release --verbosity minimal
124+
dotnet test tests/CoreIdent.Cli.Tests --no-build -c Release --verbosity minimal
125+
dotnet test tests/CoreIdent.Templates.Tests --no-build -c Release --verbosity minimal
122126
123127
- name: Upload Coverage
124128
if: github.event_name == 'schedule'

0 commit comments

Comments
 (0)