summaryrefslogtreecommitdiff
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 3f0e223..fdf012e 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -104,6 +104,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
+ - "3.11.0-alpha.7"
os: [ubuntu-20.04, macos-latest]
exclude:
- os: macos-latest
@@ -152,7 +153,7 @@ jobs:
python setup.py bdist_wheel
# Also install it, so that we get dependencies in the (pip) cache.
pip install -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"'
- pip install .[test]
+ pip install --pre .[test]
- name: Check zope.security build
run: |
@@ -172,6 +173,7 @@ jobs:
&& startsWith(github.ref, 'refs/tags')
&& startsWith(runner.os, 'Mac')
&& !startsWith(matrix.python-version, 'pypy')
+ && !startsWith(matrix.python-version, '3.11.0-alpha.7')
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
@@ -193,6 +195,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
+ - "3.11.0-alpha.7"
os: [ubuntu-20.04, macos-latest]
exclude:
- os: macos-latest
@@ -236,13 +239,15 @@ jobs:
- name: Install zope.security
run: |
pip install -U wheel setuptools
- pip install -U coverage
+ # coverage has a wheel on PyPI for a future python version which is
+ # not ABI compatible with the current one, so build it from sdist:
+ pip install -U --no-binary :all: coverage
pip install -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"'
# Unzip into src/ so that testrunner can find the .so files
# when we ask it to load tests from that directory. This
# might also save some build time?
unzip -n dist/zope.security-*whl -d src
- pip install -U -e .[test]
+ pip install --pre -U -e .[test]
- name: Run tests with C extensions
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
run: |