Skip to content

Commit 787dde9

Browse files
committed
add test matrix support for python 3.12, only check the latest 3 stable releases and remove flake8 checks conflicting with black
1 parent 21ba85c commit 787dde9

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
# IMPORTANT: this permission is mandatory for trusted publishing
99
id-token: write
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Set up Python
13-
uses: actions/setup-python@v4
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: "3.x"
1616
- name: Install pypa/build

.github/workflows/python-test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
16+
python-version: ['3.10', '3.11', '3.12']
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
@@ -29,8 +29,6 @@ jobs:
2929
run: |
3030
# stop the build if there are Python syntax errors or undefined names
3131
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
32-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
33-
flake8 . --count --exit-zero --max-complexity=10 --statistics
3432
- name: Check with mypy
3533
run: mypy pythonosc examples
3634
- name: Test with pytest

0 commit comments

Comments
 (0)