Skip to content

Commit

Permalink
use reusable unit tests from kyma-project/eventing-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Jan 17, 2024
1 parent 3a070af commit 983014e
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test
name: unit-test

env:
KYMA_STABILITY: "unstable"
Expand All @@ -8,34 +8,20 @@ on:
push:
branches:
- main
- "release-*"
- "release-**"
paths-ignore:
- "docs/**"
- "**.md"
- "sec-scanners-config.yaml"
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

0 comments on commit 983014e

Please sign in to comment.