Skip to content

πŸ“„ Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

Update pytest version

SWHL4a96b91884e8
diff --git a/.github/workflows/gen_whl_to_pypi_rapid_table.yml b/.github/workflows/gen_whl_to_pypi_rapid_table.yml
index f3704de..53a164f 100644
--- a/.github/workflows/gen_whl_to_pypi_rapid_table.yml
+++ b/.github/workflows/gen_whl_to_pypi_rapid_table.yml
@@ -47,8 +47,7 @@ jobs:
cd python/rapid_structure
pip install -r requirements.txt
pip install onnxruntime rapidocr_onnxruntime
- cd tests
- pytest test_table.py
+ pytest tests\test_table.py
GenerateWHL_PushPyPi:
needs: UnitTesting
diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml
index d7d80f3..2b2ecaf 100644
--- a/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml
+++ b/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml
@@ -50,7 +50,7 @@ jobs:
pip install -r requirements.txt
pip install onnxruntime==1.11.0 openvino==2022.2.0
cd tests
- pytest test_det.py test_cls.py test_rec.py
+ pytest test_det.py test_cls.py test_rec.py test_all_ort.py
GenerateWHL_PushPyPi:
needs: UnitTesting
diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml
index 2e0f3ef..5f1bb45 100644
--- a/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml
+++ b/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml
@@ -51,7 +51,7 @@ jobs:
pip install -r requirements.txt
pip install onnxruntime==1.11.0 openvino==2022.2.0
cd tests
- pytest test_det.py test_cls.py test_rec.py
+ pytest test_det.py test_cls.py test_rec.py test_all_vino.py
GenerateWHL_PushPyPi:
needs: UnitTesting
diff --git a/python/rapid_structure/requirements.txt b/python/rapid_structure/requirements.txt
index 660bf76..d847c7d 100644
--- a/python/rapid_structure/requirements.txt
+++ b/python/rapid_structure/requirements.txt
@@ -2,6 +2,6 @@ numpy>=1.21.6
opencv_python>=4.6.0.66
setuptools>=61.2.0
PyYAML
-pytest
+pytest>=7.2.1
pip==22.3.1
onnxruntime
\ No newline at end of file
diff --git a/python/requirements.txt b/python/requirements.txt
index fa870c7..b075fe1 100644
--- a/python/requirements.txt
+++ b/python/requirements.txt
@@ -5,5 +5,5 @@ six>=1.15.0
numpy>=1.19.5
Pillow
PyYAML
-pytest
+pytest>=7.2.1
pip==22.3.1
\ No newline at end of file