Skip to content

Commit

Permalink
test: Test with Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jan 3, 2024
1 parent 94ab2c3 commit 7c2d44a
Show file tree
Hide file tree
Showing 6 changed files with 688 additions and 595 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
path: dist
- uses: svenstaro/upload-release-action@v2
with:
file: dist/*.whl
file: dist/*
tag: ${{ github.ref }}
overwrite: true
file_glob: true
Expand Down
31 changes: 15 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ on:
push:
branches: [main]
paths:
- tap_betterstack/**
- tests/**
- noxfile.py
- poetry.lock
- pyproject.toml
- .github/workflows/test.yml
- .github/workflows/constraints.txt
- tap_betterstack/**
- tests/**
- noxfile.py
- poetry.lock
- pyproject.toml
- .github/workflows/test.yml
- .github/workflows/constraints.txt
pull_request:
types: [opened, synchronize, reopened]
paths:
- tap_betterstack/**
- tests/**
- noxfile.py
- poetry.lock
- pyproject.toml
- .github/workflows/test.yml
- .github/workflows/constraints.txt
- tap_betterstack/**
- tests/**
- noxfile.py
- poetry.lock
- pyproject.toml
- .github/workflows/test.yml
- .github/workflows/constraints.txt

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -34,10 +34,9 @@ jobs:
NOXPYTHON: ${{ matrix.python-version }}
NOXSESSION: tests
PIP_CONSTRAINT: .github/workflows/constraints.txt
SETUPTOOLS_USE_DISTUTILS: stdlib
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<a href="https://github.com/astral-sh/ruff">
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json" alt="Ruff" style="max-width:100%;">
</a>
<a href="https://pypi.org/p/tap-betterstack/">
<img alt="Python versions" src="https://img.shields.io/pypi/pyversions/tap-betterstack"/>
</a>
</div>

Singer tap for [Better Stack](https://betterstack.com). Built with the [Meltano Singer SDK](https://sdk.meltano.com).
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{sys.executable} -m pip install nox-poetry"""
raise SystemExit(dedent(message)) from None

python_versions = ["3.11", "3.10", "3.9", "3.8"]
python_versions = ["3.12", "3.11", "3.10", "3.9", "3.8"]
nox.options.sessions = ("tests",)


Expand Down
Loading

0 comments on commit 7c2d44a

Please sign in to comment.