diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 207e35ee0..7bf62ed11 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,8 +23,6 @@ jobs: container: ghcr.io/sitkoru/actions-container steps: - uses: actions/checkout@v2 - - name: Add Github Actions logger - run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger - name: Run tests run: dotnet test --logger GitHubActions tests/Sitko.Core.App.Tests/Sitko.Core.App.Tests.csproj @@ -46,8 +44,6 @@ jobs: run: | npm ci npm run prod - - name: Add Github Actions logger - run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger - name: Run tests run: dotnet test --logger GitHubActions tests/Sitko.Core.App.Blazor.Tests/Sitko.Core.App.Blazor.Tests.csproj @@ -56,8 +52,6 @@ jobs: container: ghcr.io/sitkoru/actions-container steps: - uses: actions/checkout@v2 - - name: Add Github Actions logger - run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger - name: Run tests run: dotnet test --logger GitHubActions tests/Sitko.Core.Grpc.Client.Tests/Sitko.Core.Grpc.Client.Tests.csproj @@ -66,8 +60,6 @@ jobs: container: ghcr.io/sitkoru/actions-container steps: - uses: actions/checkout@v2 - - name: Add Github Actions logger - run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger - name: Run tests run: dotnet test --logger GitHubActions tests/Sitko.Core.ImgProxy.Tests/Sitko.Core.ImgProxy.Tests.csproj @@ -82,8 +74,6 @@ jobs: run: | apt-get update apt-get install -y google-chrome-stable - - name: Add Github Actions logger - run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger - name: Run tests run: dotnet test --logger GitHubActions tests/Sitko.Core.Pdf.Tests/Sitko.Core.Pdf.Tests.csproj @@ -98,8 +88,6 @@ jobs: image: nats-streaming:latest steps: - uses: actions/checkout@v2 - - name: Add Github Actions logger - run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger - name: Run tests Sitko.Core.Queue run: dotnet test --logger GitHubActions tests/Sitko.Core.Queue.Test/Sitko.Core.Queue.Tests.csproj - name: Run tests Sitko.Core.Queue.Nats @@ -121,8 +109,6 @@ jobs: POSTGRES_HOST_AUTH_METHOD: trust steps: - uses: actions/checkout@v2 - - name: Add Github Actions logger - run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger - name: Run EF Core tests run: dotnet test --logger GitHubActions tests/Sitko.Core.Repository.EntityFrameworkCore.Tests/Sitko.Core.Repository.EntityFrameworkCore.Tests.csproj - name: Run Remote tests @@ -138,8 +124,6 @@ jobs: image: titpetric/sonyflake steps: - uses: actions/checkout@v2 - - name: Add Github Actions logger - run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger - name: Run tests run: dotnet test --logger GitHubActions tests/Sitko.Core.SonyFlake.Tests/Sitko.Core.SonyFlake.Tests.csproj @@ -165,8 +149,6 @@ jobs: POSTGRES_HOST_AUTH_METHOD: trust steps: - uses: actions/checkout@v2 - - name: Add Github Actions logger - run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger - name: Sitko.Core.Storage.FileSystem run: dotnet test --logger GitHubActions tests/Sitko.Core.Storage.FileSystem.Tests/Sitko.Core.Storage.FileSystem.Tests.csproj - name: Sitko.Core.Storage.S3 @@ -199,8 +181,6 @@ jobs: - name: Start Vault run: | vault server -dev -dev-root-token-id="${VAULT__TOKEN}" & - - name: Add Github Actions logger - run: dotnet add src/Sitko.Core.Xunit/Sitko.Core.Xunit.csproj package GitHubActionsTestLogger - name: Run tests run: dotnet test --logger GitHubActions tests/Sitko.Core.Configuration.Vault.Tests/Sitko.Core.Configuration.Vault.Tests.csproj diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 4ec48f06b..2ee728d1e 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -7,4 +7,7 @@ + + +