Skip to content

Commit

Permalink
fix: installing python 3.12 in CI to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jfavellar90 committed Apr 29, 2024
1 parent b37652b commit 92c119e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
run: |
docker-compose -f .github/docker-compose-ci.yml up -d
- name: setup python
if: ${{ matrix.python-version == 'py312' }}
run: |
docker exec -e TOXENV=${{ matrix.python-version }}-${{ matrix.django-version }} -e DB_HOST=${{ matrix.db-version }} xqueue bash -c \
"apt update && apt install -y software-properties-common && add-apt-repository ppa:deadsnakes/ppa -y && apt install python3.12 python3.12-dev python3.12-distutils -y"
- name: Install test dependencies and run tests
env:
TOXENV: ${{ matrix.python-version }}-${{ matrix.django-version }}
Expand Down

0 comments on commit 92c119e

Please sign in to comment.