17
17
- ' test/**'
18
18
19
19
jobs :
20
- integration-test :
20
+ initialization-tests-v1 :
21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- name : Checkout code
@@ -33,18 +33,94 @@ jobs:
33
33
working-directory : ./backend/test/initialization
34
34
run : go test -v ./... -namespace kubeflow -args -runIntegrationTests=true
35
35
36
+ - name : Collect test results
37
+ if : always()
38
+ uses : actions/upload-artifact@v4
39
+ with :
40
+ name : kfp-initialization-tests-v1-artifacts
41
+ path : /tmp/tmp.*/*
42
+
43
+ initialization-tests-v2 :
44
+ runs-on : ubuntu-latest
45
+ steps :
46
+ - name : Checkout code
47
+ uses : actions/checkout@v4
48
+
49
+ - name : Create KFP cluster
50
+ uses : ./.github/actions/kfp-cluster
51
+
52
+ - name : Forward API port
53
+ run : ./scripts/deploy/github/forward-port.sh "kubeflow" "ml-pipeline" 8888 8888
54
+
36
55
- name : Initialization tests v2
37
56
working-directory : ./backend/test/v2/initialization
38
57
run : go test -v ./... -namespace kubeflow -args -runIntegrationTests=true
39
58
59
+ - name : Collect test results
60
+ if : always()
61
+ uses : actions/upload-artifact@v4
62
+ with :
63
+ name : kfp-initialization-tests-v2-artifacts
64
+ path : /tmp/tmp.*/*
65
+
66
+ api-integration-tests-v1 :
67
+ runs-on : ubuntu-latest
68
+ steps :
69
+ - name : Checkout code
70
+ uses : actions/checkout@v4
71
+
72
+ - name : Create KFP cluster
73
+ uses : ./.github/actions/kfp-cluster
74
+
75
+ - name : Forward API port
76
+ run : ./scripts/deploy/github/forward-port.sh "kubeflow" "ml-pipeline" 8888 8888
77
+
40
78
- name : API integration tests v1
41
79
working-directory : ./backend/test/integration
42
80
run : go test -v ./... -namespace ${NAMESPACE} -args -runIntegrationTests=true
43
81
82
+ - name : Collect test results
83
+ if : always()
84
+ uses : actions/upload-artifact@v4
85
+ with :
86
+ name : kfp-api-integration-tests-v1-artifacts
87
+ path : /tmp/tmp.*/*
88
+
89
+ api-integration-tests-v2 :
90
+ runs-on : ubuntu-latest
91
+ steps :
92
+ - name : Checkout code
93
+ uses : actions/checkout@v4
94
+
95
+ - name : Create KFP cluster
96
+ uses : ./.github/actions/kfp-cluster
97
+
98
+ - name : Forward API port
99
+ run : ./scripts/deploy/github/forward-port.sh "kubeflow" "ml-pipeline" 8888 8888
100
+
44
101
- name : API integration tests v2
45
102
working-directory : ./backend/test/v2/integration
46
103
run : go test -v ./... -namespace ${NAMESPACE} -args -runIntegrationTests=true
47
104
105
+ - name : Collect test results
106
+ if : always()
107
+ uses : actions/upload-artifact@v4
108
+ with :
109
+ name : kfp-api-integration-tests-v2-artifacts
110
+ path : /tmp/tmp.*/*
111
+
112
+ frontend-integration-test :
113
+ runs-on : ubuntu-latest
114
+ steps :
115
+ - name : Checkout code
116
+ uses : actions/checkout@v4
117
+
118
+ - name : Create KFP cluster
119
+ uses : ./.github/actions/kfp-cluster
120
+
121
+ - name : Forward API port
122
+ run : ./scripts/deploy/github/forward-port.sh "kubeflow" "ml-pipeline" 8888 8888
123
+
48
124
- name : Forward Frontend port
49
125
run : ./scripts/deploy/github/forward-port.sh "kubeflow" "ml-pipeline-ui" 3000 3000
50
126
@@ -55,6 +131,25 @@ jobs:
55
131
- name : Frontend integration tests
56
132
run : docker run --net=host kfp-frontend-integration-test:local --remote-run true
57
133
134
+ - name : Collect test results
135
+ if : always()
136
+ uses : actions/upload-artifact@v4
137
+ with :
138
+ name : kfp-frontend-integration-test-artifacts
139
+ path : /tmp/tmp.*/*
140
+
141
+ basic-sample-tests :
142
+ runs-on : ubuntu-latest
143
+ steps :
144
+ - name : Checkout code
145
+ uses : actions/checkout@v4
146
+
147
+ - name : Create KFP cluster
148
+ uses : ./.github/actions/kfp-cluster
149
+
150
+ - name : Forward API port
151
+ run : ./scripts/deploy/github/forward-port.sh "kubeflow" "ml-pipeline" 8888 8888
152
+
58
153
- name : Basic sample tests - sequential
59
154
run : pip3 install -r ./test/sample-test/requirements.txt && pip3 install kfp~=2.0 && python3 ./test/sample-test/sample_test_launcher.py sample_test run_test --namespace kubeflow --test-name sequential --results-gcs-dir output
60
155
66
161
if : always()
67
162
uses : actions/upload-artifact@v4
68
163
with :
69
- name : kfp-backend -artifacts
164
+ name : kfp-basic-sample-tests -artifacts
70
165
path : /tmp/tmp.*/*
0 commit comments