Skip to content

Commit

Permalink
Merge 9c1e86d into 1dea876
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 5, 2023
2 parents 1dea876 + 9c1e86d commit b976d80
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 17 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/build.yml
Expand Up @@ -25,11 +25,12 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "pypy3.7"

steps:
- name: Git clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -49,21 +50,21 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -U setuptools wheel
python -m pip install -U coverage coveralls
python -m pip install -U coverage
python -m pip install -e .[test]
- name: Run tests
run: coverage run tests.py

- name: Check test coverage
run: coverage report -m --fail-under=100
run: |
coverage report -m --fail-under=100
coverage xml
- name: Report to coveralls
run: coveralls
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
uses: coverallsapp/github-action@v2
with:
file: coverage.xml

lint:
name: ${{ matrix.toxenv }}
Expand All @@ -79,7 +80,7 @@ jobs:

steps:
- name: Git clone
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ env.default_python || '3.11' }}
uses: actions/setup-python@v4
Expand Down
4 changes: 2 additions & 2 deletions CHANGES.rst
@@ -1,10 +1,10 @@
Changes
=======

1.8.9 (unreleased)
1.8.0 (unreleased)
------------------

- Add support for Python 3.8, 3.9, 3.10, and 3.11.
- Add support for Python 3.8, 3.9, 3.10, 3.11, and 3.12.

- Drop support for Python 2.7, 3.5 and 3.6.

Expand Down
11 changes: 6 additions & 5 deletions appveyor.yml
Expand Up @@ -4,11 +4,12 @@ environment:
matrix:
# https://www.appveyor.com/docs/installed-software#python lists available
# versions
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python39"
- PYTHON: "C:\\Python310"
- PYTHON: "C:\\Python311"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38-x64"
- PYTHON: "C:\\Python39-x64"
- PYTHON: "C:\\Python310-x64"
- PYTHON: "C:\\Python311-x64"
- PYTHON: "C:\\Python312-x64"

init:
- "echo %PYTHON%"
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -54,6 +54,7 @@ def get_description():
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Multimedia :: Graphics',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
py37,py38,py39,py310,py311,pypy3
py37,py38,py39,py310,py311,py312,pypy3

[testenv]
extras = test
Expand Down

0 comments on commit b976d80

Please sign in to comment.