From 3e458dd0f6d8637dd8d196c695ba0218a18bb2b1 Mon Sep 17 00:00:00 2001 From: Timur Sultanaev Date: Sat, 14 Dec 2024 02:25:25 +0100 Subject: [PATCH] test before releasing in pipeline --- .github/workflows/release.yaml | 3 +++ .github/workflows/test.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4eafc55..e49f5a0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,10 @@ on: - '*' jobs: + call-run-tests: + uses: strowk/mcp-k8s-go/.github/workflows/test.yaml@test-pipeline release: + needs: call-run-tests runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3213636..7cd5140 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,6 +4,7 @@ on: push: branches: [main] workflow_dispatch: + workflow_call: jobs: run-tests: