Skip to content

Commit c60c348

Browse files
committed
fix: update workflow to use windows-latest and include Python 3.12; clean up pyproject.toml license declaration
1 parent a432759 commit c60c348

File tree

2 files changed

+4
-19
lines changed

2 files changed

+4
-19
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ on:
1212
jobs:
1313
build:
1414

15-
runs-on: ubuntu-latest
15+
runs-on: windows-latest
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.9", "3.10", "3.11"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12"]
2020

2121
steps:
2222
- uses: actions/checkout@v4
@@ -27,14 +27,4 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
python -m pip install flake8 pytest
31-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32-
- name: Lint with flake8
33-
run: |
34-
# stop the build if there are Python syntax errors or undefined names
35-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
36-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
37-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
38-
- name: Test with pytest
39-
run: |
40-
pytest
30+
pip install -r requirements.txt

pyproject.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@ classifiers = [
2121
"Programming Language :: Python :: 3",
2222
"Operating System :: OS Independent",
2323
]
24-
license = "GPL-3.0 license"
24+
license = "GPL-3.0"
2525
license-files = ["LICEN[CS]E*"]
2626

27-
[tool.setuptools.packages.find]
28-
exclude = ["tests", "tests.*", "models", "models.*"]
29-
include = ["Simpler_Kokoro", "Simpler_Kokoro.*"]
30-
31-
3227
[project.urls]
3328
Homepage = "https://github.com/WilleIshere/SimplerKokoro"
3429
Issues = "https://github.com/WilleIshere/SimplerKokoro/issues"

0 commit comments

Comments
 (0)