Skip to content

Commit 7e26c4e

Browse files
authored
Merge pull request #5 from pawelpaszki/fix-upgrade-tests
fix: replace failing test files with upstream files
2 parents ea7bfe3 + eae4b8a commit 7e26c4e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/kuberay-upgrade.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ jobs:
1616
- name: Clone KubeRay repository
1717
run: |
1818
git clone --depth=1 --branch dev https://github.com/opendatahub-io/kuberay.git
19+
20+
- name: Clone upstream KubeRay repository for test files
21+
run: |
22+
git clone --depth=1 --branch master https://github.com/ray-project/kuberay.git kuberay-upstream
23+
24+
- name: Replace test files from upstream (temp fix due to re-sync uf midstream)
25+
run: |
26+
# Replace the two test files with upstream versions
27+
cp kuberay-upstream/ray-operator/test/e2eupgrade/rayservice_operator_upgrade_test.go kuberay/ray-operator/test/e2eupgrade/rayservice_operator_upgrade_test.go
28+
cp kuberay-upstream/ray-operator/test/e2eupgrade/support.go kuberay/ray-operator/test/e2eupgrade/support.go
29+
30+
# Clean up upstream clone to save space
31+
rm -rf kuberay-upstream
1932
2033
- name: Set up Go
2134
uses: actions/setup-go@v5

0 commit comments

Comments
 (0)