Test with Python 3.10

This commit is contained in:
Tobias Gruetzmacher 2021-10-10 18:56:11 +02:00
parent 9e1c73ed0a
commit 2e6b3d5f23
4 changed files with 13 additions and 11 deletions

View file

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: [3.6, 3.7, 3.8, 3.9] python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -25,11 +25,11 @@ jobs:
- name: Test with tox - name: Test with tox
run: tox run: tox
if: ${{ matrix.python-version != '3.9' }} if: ${{ matrix.python-version != '3.10' }}
- name: Test with tox (and upload coverage) - name: Test with tox (and upload coverage)
uses: paambaati/codeclimate-action@v3.0.0 uses: paambaati/codeclimate-action@v3.0.0
if: ${{ matrix.python-version == '3.9' }} if: ${{ matrix.python-version == '3.10' }}
env: env:
CC_TEST_REPORTER_ID: 2a411f596959fc32f5d73f3ba7cef8cc4d5733299d742dbfc97fd6c190b9010c CC_TEST_REPORTER_ID: 2a411f596959fc32f5d73f3ba7cef8cc4d5733299d742dbfc97fd6c190b9010c
with: with:

3
Jenkinsfile vendored
View file

@ -1,5 +1,6 @@
def pys = [ def pys = [
[name: 'Python 3.9', docker:'python:3.9-buster', tox:'py39,flake8', main: true], [name: 'Python 3.10', docker: 'python:3.10-buster', tox:'py310,flake8', main: true],
[name: 'Python 3.9', docker: 'python:3.9-buster', tox:'py39', main: false],
[name: 'Python 3.8', docker: 'python:3.8-buster', tox:'py38', main: false], [name: 'Python 3.8', docker: 'python:3.8-buster', tox:'py38', main: false],
[name: 'Python 3.7', docker: 'python:3.7-buster', tox:'py37', main: false], [name: 'Python 3.7', docker: 'python:3.7-buster', tox:'py37', main: false],
[name: 'Python 3.6', docker: 'python:3.6-buster', tox:'py36', main: false], [name: 'Python 3.6', docker: 'python:3.6-buster', tox:'py36', main: false],

View file

@ -22,6 +22,7 @@ classifiers =
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Internet :: WWW/HTTP Topic :: Internet :: WWW/HTTP
Topic :: Multimedia :: Graphics Topic :: Multimedia :: Graphics
keywords = comic,webcomic,downloader,archiver,crawler keywords = comic,webcomic,downloader,archiver,crawler

View file

@ -1,13 +1,13 @@
[tox] [tox]
envlist = py36, py37, py38, py39, flake8 envlist = py36, py37, py38, py39, py310, flake8
[gh-actions] [gh-actions]
python = python =
3.5: py35
3.6: py36 3.6: py36
3.7: py37 3.7: py37
3.8: py38 3.8: py38
3.9: py39, flak8 3.9: py39
3.10: py310, flake8
[testenv] [testenv]
commands = commands =
@ -38,7 +38,7 @@ max-line-length = 100
ignore = E127,E128,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55,W504 ignore = E127,E128,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55,W504
require-code = True require-code = True
no-accept-encodings = True no-accept-encodings = True
min-version = 3.5 min-version = 3.6
# Duplicated for CodeClimate... # Duplicated for CodeClimate...
[pep8] [pep8]