Эх сурвалжийг харах

feat: add magic-pdf-dev case

quyuan 1 жил өмнө
parent
commit
fea2b7bd37

+ 1 - 1
.github/workflows/cli.yml

@@ -39,7 +39,7 @@ jobs:
     - name: unit test
       run: | 
         cd $GITHUB_WORKSPACE && python tests/clean_coverage.py
-        cd $GITHUB_WORKSPACE && export PYTHONPATH=. && coverage run -m  pytest  tests/test_unit.py --cov=magic_pdf/ --cov-report term-missing --cov-report html
+        cd $GITHUB_WORKSPACE && export PYTHONPATH=. && coverage run -m  pytest  tests/unittest --cov=magic_pdf/ --cov-report term-missing --cov-report html
         cd $GITHUB_WORKSPACE && python tests/get_coverage.py
     - name: cli test
       run: |

+ 2 - 0
.pytest_cache/.gitignore

@@ -0,0 +1,2 @@
+# Created by pytest automatically.
+*

+ 4 - 0
.pytest_cache/CACHEDIR.TAG

@@ -0,0 +1,4 @@
+Signature: 8a477f597d28d172789f06886806bc55
+# This file is a cache directory tag created by pytest.
+# For information about cache directory tags, see:
+#	https://bford.info/cachedir/spec.html

+ 8 - 0
.pytest_cache/README.md

@@ -0,0 +1,8 @@
+# pytest cache directory #
+
+This directory contains data from the pytest's cache plugin,
+which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
+
+**Do not** commit this to version control.
+
+See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.

+ 4 - 0
.pytest_cache/v/cache/lastfailed

@@ -0,0 +1,4 @@
+{
+  "tests/unittest/test_unit.py": true,
+  "tests/unittest/test_table/test_tablemaster.py": true
+}

+ 1 - 0
.pytest_cache/v/cache/nodeids

@@ -0,0 +1 @@
+[]

+ 1 - 0
.pytest_cache/v/cache/stepwise

@@ -0,0 +1 @@
+[]

BIN
magic_pdf/libs/__pycache__/__init__.cpython-312.pyc


BIN
magic_pdf/libs/__pycache__/__init__.cpython-39.pyc


BIN
magic_pdf/libs/__pycache__/version.cpython-312.pyc


BIN
magic_pdf/libs/__pycache__/version.cpython-39.pyc


+ 0 - 0
tests/test_unit.py → tests/unittest/test_unit.py