diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2023-03-24 20:33:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-24 08:33:20 -0400 |
commit | 41f1deb6d689d41b300245dd4d8b2df19b0af9bf (patch) | |
tree | 5043ba8d8407d5f67595dcace5f10ce14194448e | |
parent | 240ae6fd46ab2752148136ce5855e5e975adc96b (diff) | |
download | pyopenssl-git-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.yml | 2 | ||||
-rw-r--r-- | tox.ini | 8 |
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: @@ -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 |