From a1ac6a58af595428107dac63abcaaa4fee46ee44 Mon Sep 17 00:00:00 2001 From: Jokcer <519548295@qq.com> Date: Thu, 17 Oct 2024 20:50:20 +0800 Subject: [PATCH] chore: optim workflow --- .github/workflows/publish_whl.yml | 3 +++ requirements.txt | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_whl.yml b/.github/workflows/publish_whl.yml index f2ea7d5..5bc105b 100644 --- a/.github/workflows/publish_whl.yml +++ b/.github/workflows/publish_whl.yml @@ -34,6 +34,7 @@ jobs: pip install -r requirements.txt pip install rapidocr_onnxruntime + pip install pytest pytest tests/test_table.py GenerateWHL_PushPyPi: @@ -52,6 +53,8 @@ jobs: - name: Run setup run: | pip install -r requirements.txt + python -m pip install --upgrade pip + pip install wheel get_pypi_latest_version wget $RESOURCES_URL ZIP_NAME=${RESOURCES_URL##*/} DIR_NAME=${ZIP_NAME%.*} diff --git a/requirements.txt b/requirements.txt index 675991e..c0325f8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,3 @@ opencv_python>=4.5.1.48 numpy>=1.21.6,<2 Pillow requests -pytest -get_pypi_latest_version