Skip to content

Commit b329790

Browse files
authored
Fix weekly oneclick issues (#2193)
Signed-off-by: ZePan110 <[email protected]>
1 parent 5fd3a03 commit b329790

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/_run-one-click.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ jobs:
9494
with:
9595
fetch-depth: 0
9696

97+
- name: Install dependencies
98+
run: |
99+
sudo apt update
100+
sudo apt install -y python3-pip
101+
97102
- name: get-default-params-from-config
98103
id: get-default-params
99104
if: ${{ inputs.deploy_method == 'k8s' }}
@@ -131,9 +136,6 @@ jobs:
131136
Mount_dir: ${{ env.Mount_dir }}
132137
LVM_model: ${{ env.LVM_model }}
133138
run: |
134-
sudo apt update
135-
sudo apt install -y python3-pip
136-
137139
cd ${{ github.workspace }}/one_click_deploy
138140
python3 -m pip install -r requirements.txt
139141

.github/workflows/weekly-one-click-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
nodes: ${{ steps.get-matrix.outputs.nodes }}
2626
deploy_methods: ${{ steps.get-matrix.outputs.deploy_methods }}
2727
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
with:
31+
fetch-depth: 0
32+
2833
- name: Create Matrix
2934
id: get-matrix
3035
run: |

0 commit comments

Comments
 (0)