diff --git a/.github/workflows/on-master-commit.yaml b/.github/workflows/on-master-commit.yaml index 2770b6350..a984c7a11 100644 --- a/.github/workflows/on-master-commit.yaml +++ b/.github/workflows/on-master-commit.yaml @@ -14,6 +14,10 @@ jobs: name: Lint uses: ./.github/workflows/lint-go.yaml + run-e2e-tests: + name: Run E2E Tests + uses: ./.github/workflows/test-e2e.yaml + generate-tags: name: Generate Docker Tags runs-on: ubuntu-latest @@ -34,6 +38,7 @@ jobs: secrets: inherit needs: - run-unit-tests + - run-e2e-tests - generate-tags - lint permissions: diff --git a/.github/workflows/on-pull-request.yaml b/.github/workflows/on-pull-request.yaml index 143d08bdf..5fd407d14 100644 --- a/.github/workflows/on-pull-request.yaml +++ b/.github/workflows/on-pull-request.yaml @@ -10,6 +10,10 @@ jobs: name: Run Unit Tests uses: ./.github/workflows/test.yaml + run-e2e-tests: + name: Run E2E Tests + uses: ./.github/workflows/test-e2e.yaml + lint: name: Lint uses: ./.github/workflows/lint-go.yaml diff --git a/.github/workflows/test-e2e.yaml b/.github/workflows/test-e2e.yaml index 8b84586ab..817344e9d 100644 --- a/.github/workflows/test-e2e.yaml +++ b/.github/workflows/test-e2e.yaml @@ -1,12 +1,7 @@ name: E2E Tests on: - pull_request: - branches: - - master - push: - branches: - - master + workflow_call: jobs: build-docker-image: