Skip to content

Commit

Permalink
test Python 3.13 in CI (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw authored Oct 3, 2024
1 parent 3e426a8 commit 055facc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: test
run: make test INSTALL_EXTRA=test

Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ jobs:
runs-on: ubuntu-latest
environment: release
permissions:
# Used for OIDC publishing.
# Used to sign the release's artifacts with sigstore-python.
# Used for Trusted Publishing + attestations.
id-token: write

# Used to attach signing artifacts to the published release.
Expand All @@ -23,19 +22,15 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: ">= 3.10"
python-version-file: pyproject.toml

- name: deps
run: python -m pip install -U setuptools build wheel
run: python -m pip install -U build

- name: build
run: python -m build

- name: publish
uses: pypa/[email protected]

- name: sign
uses: sigstore/[email protected]
with:
inputs: ./dist/*.tar.gz ./dist/*.whl
release-signing-artifacts: true
attestations: true
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Security",
Expand Down

0 comments on commit 055facc

Please sign in to comment.