Browse Source

Merge pull request #448 from saimn/update-codecov

Update codecov, run tests with Python 3.10
pull/447/head^2
Simon Conseil 4 years ago committed by GitHub
parent
commit
e57d4b75fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/python-tests.yml
  2. 1
      setup.cfg
  3. 3
      tox.ini

4
.github/workflows/python-tests.yml

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: [3.7, 3.8, 3.9] python-version: [3.7, 3.8, 3.9, "3.10"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -38,6 +38,6 @@ jobs:
- name: Convert coverage - name: Convert coverage
run: python -m coverage xml run: python -m coverage xml
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v2
with: with:
fail_ci_if_error: true fail_ci_if_error: true

1
setup.cfg

@ -18,6 +18,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 :: Viewers Topic :: Multimedia :: Graphics :: Viewers
Topic :: Software Development :: Libraries :: Python Modules Topic :: Software Development :: Libraries :: Python Modules

3
tox.ini

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py{37,38,39}-pillow{71,-latest},pypy3,check envlist = py{37,38,39,310}-pillow{71,-latest},pypy3,check
skip_missing_interpreters = true skip_missing_interpreters = true
isolated_build = true isolated_build = true
@ -8,6 +8,7 @@ python =
3.7: py37-pillow71 3.7: py37-pillow71
3.8: py38-pillow-latest, check 3.8: py38-pillow-latest, check
3.9: py39-pillow-latest 3.9: py39-pillow-latest
3.10: py310-pillow-latest
pypy3: pypy3 pypy3: pypy3
[testenv] [testenv]

Loading…
Cancel
Save