Skip to content

feat: add python 3.12support #188

feat: add python 3.12support

feat: add python 3.12support #188

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
tox-env: [quality, django42]
python-version: ['3.8', '3.12']
db-version: ['mysql80']
steps:
- uses: actions/checkout@v2
- name: Start container
run: |
docker-compose -f .github/docker-compose-ci.yml up -d
- name: Install test dependencies and run tests
env:
TOXENV: ${{ matrix.tox-env }}
run: |
docker exec xqueue bash -c "cd /edx/app/xqueue/xqueue/; pip3 install -r requirements/ci.txt"
docker exec xqueue bash -c "cd /edx/app/xqueue/xqueue/ && DB_HOST=${{ matrix.db-version }} tox -e ${TOXENV}"