File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 run : python -m pip install tox
7373
7474 - name : Run tests
75- run : python -m tox -c tox.toml -e ci-${{ matrix.backend }} -- --verbose
75+ if : matrix.python != '3.9' && matrix.python != 'pypy-3.9'
76+ run : python -m tox -e ci-${{ matrix.backend }} -- --verbose
77+
78+ - name : Run tests (3.9)
79+ if : matrix.python == '3.9' || matrix.python == 'pypy-3.9'
80+ run : python -m tox -c tox-ci-py39.ini -e ci-${{ matrix.backend }} -- --verbose
7681
7782 docs :
7883 # Test documentation builds.
Original file line number Diff line number Diff line change 1+ ; This tox config only exists to support running from Python 3.9.
2+
3+ [tox]
4+ ; Hyperscan does not have wheels for PyPy 3.9.
5+ envlist =
6+ py39
7+ py39-hyperscan
8+ py39-re2
9+ pypy39
10+ isolated_build = True
11+
12+ [testenv]
13+ commands = python -m unittest discover -t . -s tests/ {posargs}
14+ package = wheel
15+
16+ [testenv:ci-base]
17+ ; Placeholder env for base (only simple backend) for CI.
18+
19+ [testenv:ci-hyperscan]
20+ ; Hyperscan env for CI.
21+ extras = hyperscan
22+ install_command = python -I -m pip install --only-binary =hyperscan {opts} {packages}
23+
24+ [testenv:ci-re2]
25+ ; Re2 env for CI.
26+ extras = google-re2
27+ install_command = python -I -m pip install --only-binary =google-re2 {opts} {packages}
28+
29+ [testenv:py39-hyperscan]
30+ extras = hyperscan
31+ install_command = python -I -m pip install --only-binary =hyperscan {opts} {packages}
32+
33+ [testenv:py39-re2]
34+ extras = google-re2
35+ install_command = python -I -m pip install --only-binary =google-re2 {opts} {packages}
36+
37+ ; ; Compiling hyperscan fails on PyPy 3.9.
38+ ; [testenv:pypy39-hyperscan]
39+ ; extras = hyperscan
You can’t perform that action at this time.
0 commit comments