From 983014e5ac39f75da443121ee8be80be8285bbae Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Wed, 17 Jan 2024 15:55:17 +0100 Subject: [PATCH] use reusable unit tests from kyma-project/eventing-tools --- .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..9c9a0b94 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/reusable-unti-test.yml@main