Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
100 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: tests | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
PYTHONHASHSEED: 1042466059 | ||
ZOPE_INTERFACE_STRICT_IRO: 1 | ||
CFLAGS: "-Ofast -pipe -fomit-frame-pointer -march=native" | ||
PIP_UPGRADE_STRATEGY: eager | ||
|
||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
python-version: [2.7, pypy2, pypy3, 3.6, 3.7, 3.8, 3.9] | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Pip cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('setup.*') }}-${{ matrix.python-version }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install -U pip setuptools wheel | ||
python -m pip install -U coverage cython | ||
python -m pip install -U -e ".[test,docs]" | ||
- name: Test | ||
run: | | ||
coverage run -m zope.testrunner --test-path=src --auto-color --auto-progress | ||
# XXX: Fix doctests | ||
# coverage run -a -m sphinx -b doctest -d docs/_build/doctrees docs docs/_build/doctests | ||
- name: Submit to Coveralls | ||
# This is a container action, which only runs on Linux. | ||
uses: AndreMiras/coveralls-python-action@develop | ||
with: | ||
parallel: true | ||
|
||
coveralls_finish: | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Coveralls Finished | ||
uses: AndreMiras/coveralls-python-action@develop | ||
with: | ||
parallel-finished: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
# Build dependencies. Remember to change these in make-manylinux and appveyor.yml | ||
# if you add/remove/change them. | ||
requires = [ | ||
"setuptools >= 40.8.0", | ||
"wheel", | ||
|
||
# Python 3.7 requires at least Cython 0.27.3. | ||
# 0.28 is faster, and (important!) lets us specify the target module | ||
# name to be created so that we can have both foo.py and _foo.so | ||
# at the same time. 0.29 fixes some issues with Python 3.7, | ||
# and adds the 3str mode for transition to Python 3. 0.29.14+ is | ||
# required for Python 3.8. 3.0a2 introduced a change that prevented | ||
# us from compiling (https://github.com/gevent/gevent/issues/1599) | ||
# but once that was fixed, 3.0a4 led to all of our leak tests | ||
# failing in Python 2 (https://travis-ci.org/github/gevent/gevent/jobs/683782800); | ||
# This was fixed in 3.0a5 (https://github.com/cython/cython/issues/3578) | ||
# 3.0a6 fixes an issue cythonizing source on 32-bit platforms | ||
"Cython >= 3.0a6", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters