Skip to content

Commit

Permalink
feat: Support Python 3.13 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jul 9, 2024
1 parent 99e9381 commit 430debc
Show file tree
Hide file tree
Showing 6 changed files with 376 additions and 366 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pip==24.1.1
pip==24.1.2
poetry==1.8.3
tox==4.16.0
12 changes: 10 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,28 @@ on:
pull_request:
types: [opened, synchronize, reopened]

env:
FORCE_COLOR: "1"

jobs:
test:
runs-on: ubuntu-latest
env:
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version:
- "3.11"
- "3.12"
- "3.13"

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Upgrade pip
run: |
Expand All @@ -44,7 +52,7 @@ jobs:
TAP_POMELO_CLIENT_SECRET: ${{ secrets.TAP_POMELO_CLIENT_SECRET }}
TAP_POMELO_START_DATE: ${{ secrets.TAP_POMELO_START_DATE }}
run: |
tox -e pytest
tox -e py$(echo ${{ matrix.python-version }} | tr -d .)
pre-commit:
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 430debc

Please sign in to comment.