diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c303c406..96210805 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,17 +6,10 @@ on: - master workflow_dispatch: # enable manual triggers -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - jobs: test: runs-on: ubuntu-latest environment: test - env: # Set Environment options that are meant to be left empty so the user fills them - JwtSettings__SecretKey: ${{ secrets.JWT_SETTINGS_SECRET_KEY }} - EncryptionSettings__SecretKey: ${{ secrets.ENCRYPTION_SETTINGS_SECRET_KEY }} steps: - uses: actions/checkout@v2 - name: Set up .NET @@ -28,4 +21,4 @@ jobs: - name: Build run: dotnet build src/Lumina.sln --no-restore - name: Run tests - run: dotnet test src/Lumina.sln --no-build --verbosity detailed \ No newline at end of file + run: dotnet test src/Lumina.sln --no-build --verbosity normal \ No newline at end of file diff --git a/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Common/Setup/LuminaApiFactory.cs b/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Common/Setup/LuminaApiFactory.cs index 434c29c2..5c02727c 100644 --- a/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Common/Setup/LuminaApiFactory.cs +++ b/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Common/Setup/LuminaApiFactory.cs @@ -67,7 +67,7 @@ public class LuminaApiFactory : WebApplicationFactory, IDisposable { IServiceProvider scopedServices = scope.ServiceProvider; LuminaDbContext dbContext = scopedServices.GetRequiredService(); - dbContext.Database.EnsureCreated(); + dbContext.Database.Migrate(); } }); }