From 71ba16339c07a16c805b6ce1bb0a25289c131070 Mon Sep 17 00:00:00 2001 From: Friedrich Date: Wed, 17 Jan 2024 16:57:07 +0100 Subject: [PATCH] use reusable unit tests from kyma-project/eventing-tools (#409) * use reusable unit tests from kyma-project/eventing-tools * fix spelling issue --- .github/workflows/test.yml | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2b257025..b65d46a7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: test +name: unit-test env: KYMA_STABILITY: "unstable" @@ -8,7 +8,7 @@ on: push: branches: - main - - "release-*" + - "release-**" paths-ignore: - "docs/**" - "**.md" @@ -16,26 +16,12 @@ on: pull_request: branches: - main - - "release-*" + - "release-**" paths-ignore: - "docs/**" - "**.md" - "sec-scanners-config.yaml" jobs: - unit: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 - with: - go-version: "1.21" - cache: false - - name: Sync GO dependencies - run: | - go mod tidy - go mod vendor - - name: Run tests - run: | - make test + unit-test: + uses: kyma-project/eventing-tools/.github/workflows/unit-test-reusable.yml@main