generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 19
41 lines (38 loc) · 1.35 KB
/
integration-tests-pull.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: integration tests (pull)
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'examples/**'
types: [opened, reopened, synchronize, ready_for_review, converted_to_draft]
jobs:
operator-integration-test:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/rebase
- uses: ./.github/actions/setup-go
- uses: ./.github/actions/create-single-cluster
- name: run test
run: |
make -C components/operator deploy
make -C tests/operator test
env:
IMG: europe-docker.pkg.dev/kyma-project/dev/serverless-operator:PR-${{ github.event.number }}
- uses: ./.github/actions/collect-cluster-info
serverless-integration-test:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/rebase
- uses: ./.github/actions/setup-go
- uses: ./.github/actions/create-single-cluster
- name: run test
run: |
make install-serverless-custom-operator
make -C tests/serverless serverless-integration serverless-contract-tests
make remove-serverless
env:
IMG: europe-docker.pkg.dev/kyma-project/dev/serverless-operator:PR-${{ github.event.number }}