Skip to content

Commit

Permalink
Run only the most minimal test in emulated builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Sep 12, 2023
1 parent a793779 commit cc1848c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ test-skip = "*-macosx_arm64"
before-test = "pip install pytest hypothesis"
test-command = "pytest {project}/tests --import-mode=append"

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

0 comments on commit cc1848c

Please sign in to comment.