Skip to content

Python312 upgrade

Python312 upgrade #310

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches:
- '**'
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
python-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.12']
toxenv: [py312-django32, py312-django42]
steps:
- uses: actions/checkout@v4
- name: Python setup
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: tox install
run: pip install tox
- name: Run Tests
env:
TOXENV: ${{ matrix.toxenv }}
run: tox
- name: Upload coverage to CodeCov
if: matrix.python-version == '3.12' && matrix.toxenv == 'py312-django42'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: true