Skip to content

Commit d87f656

Browse files
authored
Add CI jobs to test against cryptography wheels (#1049)
1 parent a52d5e3 commit d87f656

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- {VERSION: "3.9", TOXENV: "py39-cryptographyMinimum"}
3131
- {VERSION: "3.10", TOXENV: "py310-cryptographyMinimum"}
3232
- {VERSION: "pypy3", TOXENV: "pypy3-cryptographyMinimum"}
33+
# Cryptography wheels
34+
- {VERSION: "3.9", TOXENV: "py39-cryptographyMinimum-useWheel"}
35+
- {VERSION: "3.9", TOXENV: "py39-useWheel"}
3336
# Random order
3437
- {VERSION: "3.9", TOXENV: "py39-randomorder"}
3538
# Downstreams

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {pypy,pypy3,py27,py36,py37,py38,py39,py310}{,-cryptographyMain,-cryptographyMinimum}{,-randomorder},py37-twistedTrunk,pypi-readme,check-manifest,flake8,docs,coverage-report
2+
envlist = {pypy,pypy3,py27,py36,py37,py38,py39,py310}{,-cryptographyMain,-cryptographyMinimum}{,-useWheel}{,-randomorder},py37-twistedTrunk,pypi-readme,check-manifest,flake8,docs,coverage-report
33

44
[testenv]
55
whitelist_externals =
@@ -17,6 +17,7 @@ setenv =
1717
# with extra packages.
1818
PYTHONPATH=
1919
PIP_NO_BINARY=cryptography
20+
useWheel: PIP_NO_BINARY=
2021
commands =
2122
openssl version
2223
coverage run --parallel -m OpenSSL.debug

0 commit comments

Comments
 (0)