Do not run admin and client tests in parallel as it causes issues with the in-memory SQLite db (#126)

This commit is contained in:
Leendert de Borst
2024-07-28 16:19:34 +02:00
parent ce43c1b2c0
commit 35104ce429
13 changed files with 52 additions and 23 deletions

View File

@@ -25,5 +25,9 @@ jobs:
run: dotnet build
- name: Ensure browsers are installed
run: pwsh src/Tests/AliasVault.E2ETests/bin/Debug/net8.0/playwright.ps1 install --with-deps
- name: Run E2E tests
run: dotnet test src/Tests/AliasVault.E2ETests --no-build --verbosity normal
- name: Run AdminTests
run: dotnet test src/Tests/AliasVault.E2ETests --no-build --verbosity normal --filter "Category=AdminTests"
- name: Run ClientTests
run: dotnet test src/Tests/AliasVault.E2ETests --no-build --verbosity normal --filter "Category=ClientTests"
- name: Run remaining tests
run: dotnet test src/Tests/AliasVault.E2ETests --no-build --verbosity normal --filter "Category!=AdminTests&Category!=ClientTests"