From 154fb59bdb50cc9266afa1013aaf626c14bb6cc3 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Fri, 4 Nov 2022 16:14:57 +0100 Subject: [PATCH] Run auth test in main actions file --- .../test-integration-v2-general-auth.yml | 35 ------------------- .../test-integration-v2-kradalby.yml | 4 +++ 2 files changed, 4 insertions(+), 35 deletions(-) delete mode 100644 .github/workflows/test-integration-v2-general-auth.yml diff --git a/.github/workflows/test-integration-v2-general-auth.yml b/.github/workflows/test-integration-v2-general-auth.yml deleted file mode 100644 index f0a109a1..00000000 --- a/.github/workflows/test-integration-v2-general-auth.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Integration Test Authentication v2 - -on: [pull_request] - -jobs: - integration-test-v2: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 2 - - - name: Set Swap Space - uses: pierotofy/set-swap-space@master - with: - swap-size-gb: 10 - - - name: Get changed files - id: changed-files - uses: tj-actions/changed-files@v14.1 - with: - files: | - *.nix - go.* - **/*.go - integration_test/ - config-example.yaml - - - uses: cachix/install-nix-action@v16 - if: steps.changed-files.outputs.any_changed == 'true' - - - name: Run web flow integration tests - if: steps.changed-files.outputs.any_changed == 'true' - run: nix develop --command -- make test_integration_v2_auth_web_flow diff --git a/.github/workflows/test-integration-v2-kradalby.yml b/.github/workflows/test-integration-v2-kradalby.yml index a6ccea13..49e810c9 100644 --- a/.github/workflows/test-integration-v2-kradalby.yml +++ b/.github/workflows/test-integration-v2-kradalby.yml @@ -25,3 +25,7 @@ jobs: - name: Run general integration tests if: steps.changed-files.outputs.any_changed == 'true' run: nix develop --command -- make test_integration_v2_general + + - name: Run web flow integration tests + if: steps.changed-files.outputs.any_changed == 'true' + run: nix develop --command -- make test_integration_v2_auth_web_flow