Skip to content

Commit

Permalink
skip parallel tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Mar 21, 2022
1 parent 5edfd5c commit c63c099
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ test:
# adapted from https://github.com/huggingface/tokenizers/blob/master/bindings/python/Makefile
- mkdir data
- curl https://norvig.com/big.txt > data/big.txt
- pytest tests
{% set tests_to_skip = "_not_a_real_test" %}
# windows and expectation of forking -> not gonna happen
{% set tests_to_skip = tests_to_skip + " or with_parallelism" %} # [win]
- pytest -v tests -k "not ({{ tests_to_skip }})"

about:
home: https://pypi.org/project/tokenizers/
Expand Down

0 comments on commit c63c099

Please sign in to comment.