Skip to content

Merge pull request #335 from edx/python312-upgrade #410

Merge pull request #335 from edx/python312-upgrade

Merge pull request #335 from edx/python312-upgrade #410

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
toxenv: [django42, quality, pii_check, check_keywords]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install pip
run: pip install -r requirements/pip.txt
- name: Install requirements
run: pip install -r requirements/test.txt
- name: Run tests
env:
TOXENV: ${{ matrix.toxenv }}
run: tox
- name: Codecov
if: matrix.python-version == '3.12' && matrix.toxenv == 'django42'
uses: py-cov-action/python-coverage-comment-action@v3
with:
GITHUB_TOKEN: ${{ github.token }}
MINIMUM_GREEN: 95
MINIMUM_ORANGE: 84
ANNOTATE_MISSING_LINES: true
ANNOTATION_TYPE: error