Skip to content

Commit

Permalink
ci: Run tests on Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jairhenrique committed Dec 13, 2023
1 parent 2de9251 commit 6834cd0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
name: "Python ${{ matrix.python-version }} with ${{ matrix.session }}"
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
session: ['memory', 'localstack'] # TODO: we don't test against production AWS
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
session: ["memory", "localstack"] # TODO: we don't test against production AWS
steps:
- name: Start Docker container with localstack
if: matrix.session == 'localstack'
run: docker run -d -p 4566:9324 --rm softwaremill/elasticmq-native
run: docker run -d -p 4566:9324 --rm softwaremill/elasticmq-native

- name: Checkout Repo
uses: actions/checkout@v4
Expand All @@ -27,6 +27,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: poetry

- name: Install dependencies
run: |
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.5.12"
description = "An opinionated queue processor for Amazon SQS"
authors = ["Doist Developers <[email protected]>"]
license = "MIT"
classifiers=[
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
Expand All @@ -13,6 +13,7 @@ classifiers=[
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
homepage = "https://github.com/Doist/sqs-workers"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
isolated_build = True
envlist = py38,py39,py310,py311
envlist = py38,py39,py310,py311,py312

[testenv]
deps =
Expand Down

0 comments on commit 6834cd0

Please sign in to comment.