summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2023-03-24 20:33:20 +0800
committerGitHub <noreply@github.com>2023-03-24 08:33:20 -0400
commit41f1deb6d689d41b300245dd4d8b2df19b0af9bf (patch)
tree5043ba8d8407d5f67595dcace5f10ce14194448e
parent240ae6fd46ab2752148136ce5855e5e975adc96b (diff)
downloadpyopenssl-41f1deb6d689d41b300245dd4d8b2df19b0af9bf.tar.gz
parallel twisted tests and newer mypy (#1197)
* parallel twisted tests and newer mypy * update mypy env
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--tox.ini8
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e00ef74..1fa11af 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -46,7 +46,7 @@ jobs:
# Meta
- {VERSION: "3.9", TOXENV: "check-manifest"}
- {VERSION: "3.9", TOXENV: "flake8"}
- - {VERSION: "3.6", TOXENV: "py36-mypy", OS: "ubuntu-20.04"}
+ - {VERSION: "3.11", TOXENV: "py311-mypy"}
- {VERSION: "3.9", TOXENV: "docs"}
name: "${{ matrix.PYTHON.TOXENV }}${{ matrix.PYTHON.OS && format(' on {0}', matrix.PYTHON.OS) || '' }}"
steps:
diff --git a/tox.ini b/tox.ini
index 5e00317..148d6bc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py{py,py3,36,37,38,39,310,311}{,-cryptographyMain,-cryptographyMinimum}{,-useWheel}{,-randomorder},py37-twistedTrunk,check-manifest,flake8,py36-mypy,docs,coverage-report
+envlist = py{py,py3,36,37,38,39,310,311}{,-cryptographyMain,-cryptographyMinimum}{,-useWheel}{,-randomorder},py37-twistedTrunk,check-manifest,flake8,py311-mypy,docs,coverage-report
[testenv]
allowlist_externals =
@@ -39,7 +39,7 @@ setenv =
commands =
python -c "import OpenSSL.SSL; print(OpenSSL.SSL.SSLeay_version(OpenSSL.SSL.SSLEAY_VERSION))"
python -c "import cryptography; print(cryptography.__version__)"
- python -m twisted.trial --reporter=text twisted
+ python -m twisted.trial -j4 --reporter=text twisted
[testenv:flake8]
basepython = python3
@@ -52,9 +52,9 @@ commands =
black --check .
flake8 .
-[testenv:py36-mypy]
+[testenv:py311-mypy]
deps =
- mypy==0.950
+ mypy==1.1.1
skip_install = true
commands =
mypy src