Skip to content

Commit

Permalink
[RTC-398] Support python 3.12 (#29)
Browse files Browse the repository at this point in the history
* Support python 3.12
  • Loading branch information
roznawsk authored Feb 13, 2024
1 parent a27015e commit b11b1fd
Show file tree
Hide file tree
Showing 3 changed files with 348 additions and 343 deletions.
15 changes: 14 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:

test:
executor: machine_executor_amd64
parameters:
python_version:
type: string
environment:
PYTHON_VERSION: <<parameters.python_version>>
steps:
- checkout
- run: docker compose -f docker-compose-test.yaml up test --exit-code-from test
Expand All @@ -39,4 +44,12 @@ workflows:
build:
jobs:
- lint
- test
- test:
matrix:
parameters:
python_version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
2 changes: 1 addition & 1 deletion docker-compose-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:

test:
container_name: test
image: cimg/python:3.8
image: "cimg/python:${PYTHON_VERSION:-3.8}"
command: sh -c "cd /app && \ poetry config virtualenvs.in-project false && \ poetry install --no-ansi && \ poetry run pytest -s"
environment:
DOCKER_TEST: "TRUE"
Expand Down
Loading

0 comments on commit b11b1fd

Please sign in to comment.