chore(test): Fixed namespace in tests #802
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: KFP upgrade tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
paths: | |
- '.github/workflows/upgrade-test.yml' | |
- '.github/resources/**' | |
- 'backend/**' | |
- 'manifests/kustomize/**' | |
jobs: | |
upgrade-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
k8s_version: [ "v1.29.2", "v1.30.2", "v1.31.0" ] | |
name: KFP upgrade tests - K8s ${{ matrix.k8s_version }} | |
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 | |
with: | |
k8s_version: ${{ matrix.k8s_version }} | |
- name: Forward API port | |
run: ./.github/resources/scripts/forward-port.sh "kubeflow" "ml-pipeline" 8888 8888 | |
- name: Prepare upgrade tests | |
working-directory: backend/test/integration | |
run: go test -v ./... -namespace kubeflow -args -runUpgradeTests=true -testify.m=Prepare | |
- name: Prepare verification tests | |
working-directory: backend/test/integration | |
run: go test -v ./... -namespace kubeflow -args -runUpgradeTests=true -testify.m=Verify | |
- name: Prepare upgrade tests v2 | |
working-directory: backend/test/v2/integration/ | |
run: go test -v ./... -namespace kubeflow -args -runUpgradeTests=true -testify.m=Prepare | |
- name: Prepare verification tests v2 | |
working-directory: backend/test/v2/integration | |
run: go test -v ./... -namespace kubeflow -args -runUpgradeTests=true -testify.m=Verify |