Skip to content

Support Python 3.12 and Django 5.0 (#19) #77

Support Python 3.12 and Django 5.0 (#19)

Support Python 3.12 and Django 5.0 (#19) #77

Workflow file for this run

name: Test
on: [push]
jobs:
test:
strategy:
matrix:
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tests
run: tox -m ${{ matrix.python }}
- name: Upload coverage report
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.COV_ELYAS_TOKEN }}" \
-F file=@coverage.json \
https://cov.ely.as/github/${{ github.repository }}/${{ github.ref_name }}/
if: ${{ github.ref_name == 'main' }}