Skip to content

Test against django 5.0a and python 3.12 #23

Test against django 5.0a and python 3.12

Test against django 5.0a and python 3.12 #23

Workflow file for this run

name: Linters/Tests
on: pull_request
concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: python -m pip install tox-gh>=1.2
- name: Setup test suite
run: tox -vv --notest
- name: Run test suite
run: tox --skip-pkg-install
lint:
name: Run black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install black
run: |
pip install black
- name: test
run: |
black . --diff --color --exclude migration