Skip to content

Commit

Permalink
Cleanup build (#110)
Browse files Browse the repository at this point in the history
* Add trove classifier for Python 3.13
* Bump Poetry version in CI
* Bump Ubuntu version in CI
  • Loading branch information
drhagen authored Oct 11, 2024
1 parent 0a0a998 commit 2b48fed
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:

env:
python-version: "3.9"
poetry-version: "1.7.1"
poetry-version: "1.8.3"

jobs:
test:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand All @@ -39,7 +39,7 @@ jobs:
if-no-files-found: error
coverage:
needs: test
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand All @@ -65,7 +65,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
lint:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Run code quality checks
run: poetry run nox -s lint
poetry-check:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Poetry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:

env:
python-version: "3.9"
poetry-version: "1.7.1"
poetry-version: "1.8.3"

jobs:
pypi-publish:
name: Publish release to PyPI
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
environment: release
permissions:
id-token: write
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
# Remove classifier for Python 3.13 after next release of Poetry
# https://github.com/python-poetry/poetry-core/pull/747
"Programming Language :: Python :: 3.13",
]


Expand Down

0 comments on commit 2b48fed

Please sign in to comment.