forked from opendatahub-io/data-science-pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.11 KB
/
Copy pathsdk-upgrade.yml
File metadata and controls
47 lines (39 loc) · 1.11 KB
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
42
43
44
45
46
47
name: KFP SDK Upgrade Test
# This workflow is disabled in downstream because the SDK is always behind upstream, so it does not sufficiently test
# upgrades and will fail.
on: []
#on:
# push:
# branches:
# - master
# - main
# - stable
# - 'rhoai-*'
# pull_request:
# paths:
# - 'sdk/python/**'
# - 'test/presubmit-test-sdk-upgrade.sh'
# - '.github/workflows/sdk-upgrade.yml'
# - '!**/*.md'
# - '!**/OWNERS'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test-upgrade-kfp-sdk:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.9
cache: 'pip'
- name: Install protobuf dependencies & kfp-pipeline-spec
id: install-protobuf-deps
uses: ./.github/actions/protobuf
with:
generate_golang_proto: "false"
- name: Run SDK upgrade tests
run: ./test/presubmit-test-sdk-upgrade.sh