From e574e5a5b396cd6da548184c76e38b6909b1c55d Mon Sep 17 00:00:00 2001 From: Zdenek Havlin Date: Thu, 1 Aug 2024 23:52:32 +0200 Subject: [PATCH] Skip integration tests when executed from CI --- .github/workflows/ci.yml | 2 +- .github/workflows/pack.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 781f026..d6c92d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,4 +33,4 @@ jobs: run: dotnet build --no-restore --configuration Release - name: Test - run: dotnet test --no-build --configuration Release --verbosity normal + run: dotnet test --no-build --configuration Release --verbosity normal --filter "TestCategory!=Integration" diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 09d158e..a479b46 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -42,7 +42,7 @@ jobs: run: dotnet build --no-restore --configuration Release - name: Test - run: dotnet test --no-build --configuration Release --verbosity normal + run: dotnet test --no-build --configuration Release --verbosity normal --filter "TestCategory!=Integration" - name: Pack `W4k.Extensions.Configuration.Aws.SecretsManager` run: dotnet pack --no-build --configuration Release -p:Version=${{ github.event.inputs.version }} -o artifacts