Skip to content

Commit

Permalink
reduce test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Jan 16, 2025
1 parent 8ae5cd2 commit 7f40687
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/branchbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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:
Expand Down Expand Up @@ -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
3 changes: 1 addition & 2 deletions tests/freezeTools/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
metrics_cpp.levenshtein_distance('test', 'teste')

0 comments on commit 7f40687

Please sign in to comment.