From 7b9bf030485ac81d31db18aa44914ee35ffc4a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=92=B2=E6=BA=90?= <2402552459@qq.com> Date: Sun, 19 Jan 2025 22:01:51 +0800 Subject: [PATCH] fix(pu): fix test.yml --- .github/workflows/test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e0f7a3006..170273c30 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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