Skip to content

Commit 9dc5e4c

Browse files
committed
fix workflow
Signed-off-by: wangli <wangli858794774@gmail.com>
1 parent b0a5fa2 commit 9dc5e4c

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/vllm_ascend_doctest.yaml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ jobs:
7070
run: |
7171
sed -i 's|ports.ubuntu.com|mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list
7272
apt-get update -y
73-
apt install git curl -y
73+
apt install -y gcc g++ libnuma-dev git curl
7474
7575
- name: Config OS mirrors - openEuler
7676
if: ${{ endsWith(matrix.vllm_verison, '-openeuler') }}
7777
run: |
7878
yum update -y
79-
yum install git curl -y
79+
yum install -y gcc g++ libnuma-dev git curl
8080
8181
- name: Config pip mirrors
8282
run: |
@@ -87,16 +87,5 @@ jobs:
8787

8888
- name: Run vllm-ascend/tests/e2e/run_doctests.sh
8989
run: |
90-
# PWD: /__w/vllm-ascend/vllm-ascend
91-
# Address old branch like v0.7.3:
92-
if [ ! -d /vllm-workspace/vllm-ascend/tests/e2e ]; then
93-
echo "Warning: the doctest path doesn't exists, copy now"
94-
cp -r tests/e2e /vllm-workspace/vllm-ascend/tests/
95-
fi
96-
97-
# Simulate container to enter directory
98-
cd /workspace
99-
100-
# Run real test
10190
echo "Test:"
102-
/vllm-workspace/vllm-ascend/tests/e2e/run_doctests.sh "${{ matrix.vllm_verison }}"
91+
. ./tests/e2e/run_doctests.sh "${{ matrix.vllm_verison }}"

0 commit comments

Comments
 (0)