Skip to content

Commit 7f40687

Browse files
committed
reduce test
1 parent 8ae5cd2 commit 7f40687

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/branchbuild.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ jobs:
165165
python tools/test_scorer_typing.py
166166
python -m mypy tools/test_process_typing.py --warn-unused-ignores
167167
python -m pyright -p tools/pyrightconfig.json tools/test_process_typing.py
168-
169168
- name: Test with pytest and backtrace in case of SegFault
170169
if: runner.os == 'Linux'
171170
run: |
@@ -175,20 +174,17 @@ jobs:
175174
if: runner.os != 'Linux'
176175
run: |
177176
pytest tests
178-
179177
- name: test pyinstaller packaging
180178
run: |
181179
python -m PyInstaller.utils.run_tests --include_only rapidfuzz.
182180
183181
- name: test cx_freeze packaging
184182
if: matrix.python-version != '3.13'
183+
working-directory: tests/freezeTools
185184
run: |
186185
pip install cx_freeze
187-
cd tests/freezeTools
188186
cxfreeze --script script.py --target-dir cxfreezeDist
189-
ls
190-
./cxFreezeDist/script
191-
187+
./cxfreezeDist/script
192188
193189
# validate sse2 code on gcc
194190
sde_tests:
@@ -218,4 +214,4 @@ jobs:
218214
pip install pytest hypothesis pandas mypy
219215
220216
- name: Test on nehalem which does not support avx2
221-
run: ./sde/sde -nhm -- pytest tests
217+
run: ./sde/sde -nhm -- pytest tests

tests/freezeTools/script.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
from rapidfuzz.distance import metrics_cpp
44
rapidfuzz.distance.Levenshtein.distance('test', 'teste')
55
metrics_py.levenshtein_distance('test', 'teste')
6-
metrics_cpp.levenshtein_distance('test', 'teste')
7-
1/0
6+
metrics_cpp.levenshtein_distance('test', 'teste')

0 commit comments

Comments
 (0)