diff --git a/.github/workflows/branchbuild.yml b/.github/workflows/branchbuild.yml index fe738102..76b4aae1 100644 --- a/.github/workflows/branchbuild.yml +++ b/.github/workflows/branchbuild.yml @@ -165,7 +165,6 @@ jobs: python tools/test_scorer_typing.py python -m mypy tools/test_process_typing.py --warn-unused-ignores python -m pyright -p tools/pyrightconfig.json tools/test_process_typing.py - - name: Test with pytest and backtrace in case of SegFault if: runner.os == 'Linux' run: | @@ -175,20 +174,17 @@ jobs: if: runner.os != 'Linux' run: | pytest tests - - name: test pyinstaller packaging run: | python -m PyInstaller.utils.run_tests --include_only rapidfuzz. - name: test cx_freeze packaging if: matrix.python-version != '3.13' + working-directory: tests/freezeTools run: | pip install cx_freeze - cd tests/freezeTools cxfreeze --script script.py --target-dir cxfreezeDist - ls - ./cxFreezeDist/script - + ./cxfreezeDist/script # validate sse2 code on gcc sde_tests: @@ -218,4 +214,4 @@ jobs: pip install pytest hypothesis pandas mypy - name: Test on nehalem which does not support avx2 - run: ./sde/sde -nhm -- pytest tests + run: ./sde/sde -nhm -- pytest tests \ No newline at end of file diff --git a/tests/freezeTools/script.py b/tests/freezeTools/script.py index d54f6d39..a63ba1a1 100644 --- a/tests/freezeTools/script.py +++ b/tests/freezeTools/script.py @@ -3,5 +3,4 @@ from rapidfuzz.distance import metrics_cpp rapidfuzz.distance.Levenshtein.distance('test', 'teste') metrics_py.levenshtein_distance('test', 'teste') -metrics_cpp.levenshtein_distance('test', 'teste') -1/0 \ No newline at end of file +metrics_cpp.levenshtein_distance('test', 'teste') \ No newline at end of file