Skip to content

Commit

Permalink
fix(pu): fix test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
puyuan1996 committed Jan 19, 2025
1 parent 36d66fe commit 7b9bf03
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
shell: bash
run: |
sudo dpkg --configure -a
sudo apt-get update -y
sudo apt update && sudo apt upgrade -y
sudo apt-get install -y build-essential python3-dev clang libboost-python-dev libeigen3-dev
python3-config --includes
sudo ln -fs /usr/share/zoneinfo/UTC /etc/localtime
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libopencv-dev swig tzdata
sudo apt-get install -y python3.${{ matrix.python-version }}-dev
sudo apt-get install -y python${{ matrix.python-version }}-dev
python3-config --includes
echo "OS_NAME=Linux" >> $GITHUB_ENV
echo "IS_WIN=" >> $GITHUB_ENV
echo "IS_MAC=" >> $GITHUB_ENV
Expand Down Expand Up @@ -71,8 +71,6 @@ jobs:
- name: Install PyPI dependencies
shell: bash
run: |
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip setuptools wheel cython
pip install --no-cache-dir --upgrade flake8 setuptools wheel twine -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install -r requirements.txt --upgrade --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple
Expand Down

0 comments on commit 7b9bf03

Please sign in to comment.