Skip to content

Commit 5cb7d6b

Browse files
committed
Using tsinghua source to install pypi wheels.
Signed-off-by: Ye Cao <[email protected]>
1 parent 1bab90c commit 5cb7d6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ jobs:
146146
sudo chmod -R a+wrx ~/.ccache
147147
148148
# install python packages for codegen, and io adaptors
149-
sudo pip3 install -U "Pygments>=2.4.1"
150-
sudo pip3 install -r requirements-setup.txt -r requirements.txt -r requirements-dev.txt
149+
sudo pip3 install -U "Pygments>=2.4.1" -i https://pypi.tuna.tsinghua.edu.cn/simple
150+
sudo pip3 install -r requirements-setup.txt -r requirements.txt -r requirements-dev.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
151151
152152
# install linters
153-
sudo pip3 install auditwheel black isort flake8 twine
153+
sudo pip3 install auditwheel black isort flake8 twine -i https://pypi.tuna.tsinghua.edu.cn/simple
154154
155155
- name: Setup tmate session
156156
if: false
@@ -317,7 +317,7 @@ jobs:
317317
318318
# install python packages
319319
twine check dist/*.whl
320-
sudo pip3 install dist/*.whl -U
320+
sudo pip3 install dist/*.whl -U -i https://pypi.tuna.tsinghua.edu.cn/simple
321321
322322
# don't upload incomplete vineyard_bdist to release
323323
rm -rf dist/vineyard_bdist* || true

0 commit comments

Comments
 (0)