limit caching secrets by label (#1250) #252
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-k3d-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 }} | |
- if: ${{ always() }} | |
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-k3d-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 }} |