Skip to content

fixup py versions

fixup py versions #415

Workflow file for this run

name: Django CI
on: push
jobs:
build:
runs-on: ubuntu-20.04
strategy:
max-parallel: 4
matrix:
python-version: ["3.6.9", "3.7.17", "3.11.5"] # 3.6.9 is what is running on prod
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
coverage run ./manage.py test
- name: Coverage report
run: |
coverage report
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]