Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

feat: add python 3.12 support #243

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: [3.8]
python-version: [3.8, '3.8', '3.12']
test-target: [test, quality]

steps:
Expand Down
15 changes: 8 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{38},quality
envlist = py{38, 312},quality
skipsdist = true

[isort]
Expand All @@ -13,16 +13,17 @@ testpaths = tests/
norecursedirs = .* requirements

[testenv]
setenv =
setenv =
WORKER_CONFIGURATION_MODULE = ecommerce_worker.configuration.test
deps =
deps =
-r{toxinidir}/requirements/test.txt
commands =
commands =
pytest ecommerce_worker --cov-branch --cov-report=html:build/coverage/html/html/ \
--cov-report term --cov-report=xml:build/coverage/coverage.xml \
--cov=ecommerce_worker
--cov-report term --cov-report=xml:build/coverage/coverage.xml \
--cov=ecommerce_worker

[testenv:quality]
commands =
commands =
pycodestyle --config=.pycodestyle ecommerce_worker
pylint --rcfile=pylintrc ecommerce_worker

Loading