Skip to content

chore!: upgrade to Python 3.11 and Django 4.2 #162

chore!: upgrade to Python 3.11 and Django 4.2

chore!: upgrade to Python 3.11 and Django 4.2 #162

Workflow file for this run

name: Python CI
on:
push:
branches: [ main ]
pull_request:
branches:
- '**'
workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.11, 3.12]
toxenv: [django42, quality, pii_check]
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: make requirements
- name: Run Tests
env:
TOXENV: ${{ matrix.toxenv }}
run: tox
- name: Run coverage
if: matrix.python-version == '3.11' && matrix.toxenv == 'django42'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
fail_ci_if_error: true