Skip to content

Commit

Permalink
test subworkflow calling
Browse files Browse the repository at this point in the history
  • Loading branch information
anoipm committed May 8, 2024
1 parent 7aa5dbc commit 48177a6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pull-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ jobs:

call-integration-tests:
uses: ./.github/workflows/pull-verify/integration-tests.yaml

call-unit-tests-2:
uses: ./.github/workflows/unit-tests.yaml

22 changes: 22 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Unit tests

on: [ workflow_call ]

jobs:
operator-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ../.github/actions/setup-go
- name: run test
run: make -C components/operator test

serverless-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ../.github/actions/setup-go
- uses: ../.github/actions/setup-libgit2
- name: run test
run: make -C components/serverless test

0 comments on commit 48177a6

Please sign in to comment.