Merge pull request #1 from milosjava/fixpodlabel #3
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: KFP upgrade tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
paths: | |
- '.github/workflows/upgrade-test.yml' | |
- 'scripts/deploy/github/**' | |
- 'backend/**' | |
- 'manifests/kustomize/**' | |
jobs: | |
upgrade-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Create KFP cluster | |
uses: ./.github/actions/kfp-cluster | |
- name: Prepare upgrade tests | |
working-directory: backend/test/integration | |
run: go test -v ./... -namespace ${NAMESPACE} -args -runUpgradeTests=true -testify.m=Prepare | |
- name: Prepare verification tests | |
working-directory: backend/test/integration | |
run: go test -v ./... -namespace ${NAMESPACE} -args -runUpgradeTests=true -testify.m=Verify | |
- name: Prepare upgrade tests v2 | |
working-directory: backend/test/v2/integration/ | |
run: go test -v ./... -namespace ${NAMESPACE} -args -runUpgradeTests=true -testify.m=Prepare | |
- name: Prepare verification tests v2 | |
working-directory: backend/test/v2/integration | |
run: go test -v ./... -namespace ${NAMESPACE} -args -runUpgradeTests=true -testify.m=Verify |