Skip to content

Commit

Permalink
chore: Test with Python 3.13 (#402)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
edgarrmondragon and pre-commit-ci[bot] authored Oct 7, 2024
1 parent d03a303 commit a4e0b7b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ on:
paths-ignore:
- '**/README.md'

env:
FORCE_COLOR: 1

jobs:
test_tap:
name: Test Tap connectivity and Configuration
runs-on: ubuntu-latest
env:
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
strategy:
fail-fast: true
fail-fast: false
matrix:
include:
- python-version: "3.8"
Expand All @@ -29,20 +30,19 @@ jobs:
toxenv: py311
- python-version: "3.12"
toxenv: py312
- python-version: "3.11"
- python-version: "3.13"
toxenv: py313
- python-version: "3.x"
toxenv: deps

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64

- name: Install Tox
run: |
pipx install tox
- name: Test tap
run: |
tox -e ${{ matrix.toxenv }}
allow-prereleases: true
- uses: astral-sh/setup-uv@v3
with:
version: ">=0.4.18"
- run: uv tool install tox
- run: uvx tox -e ${{ matrix.toxenv }}
3 changes: 0 additions & 3 deletions .github/workflows/constraints.txt

This file was deleted.

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ known_first_party = [
]

[tool.deptry.package_module_name_map]
"backports-datetime-fromisoformat" = "backports.datetime_fromisoformat"
faker = "faker"
pytest = "pytest"
responses = "responses"

[tool.deptry.per_rule_ignores]
DEP001 = [ "backports" ]
DEP002 = [ "backports-datetime-fromisoformat" ]
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
requires =
tox>=4
env_list = py{38,39,310,311,312}, deps
env_list = py{38,39,310,311,312,313}, deps

[testenv]
deps =
Expand Down

0 comments on commit a4e0b7b

Please sign in to comment.