Skip to content

Commit cc1848c

Browse files
committed
Run only the most minimal test in emulated builds
1 parent a793779 commit cc1848c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ test-skip = "*-macosx_arm64"
3939
before-test = "pip install pytest hypothesis"
4040
test-command = "pytest {project}/tests --import-mode=append"
4141

42+
[[tool.cibuildwheel.overrides]]
43+
select = "*linux_aarch64"
44+
test-command = """python -c 'import tiktoken; enc = tiktoken.get_encoding("gpt2"); assert enc.encode("hello world") == [31373, 995]'"""

0 commit comments

Comments
 (0)