Skip to content

[DEV-103519] Upgrade to Django 4.2. Switch from travis to GHA #6

[DEV-103519] Upgrade to Django 4.2. Switch from travis to GHA

[DEV-103519] Upgrade to Django 4.2. Switch from travis to GHA #6

Workflow file for this run

name: Run Tests and Linter
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
[3.4.10, 3.5.10, 3.6.15, 3.7.17, 3.8.18, 3.9.18, 3.10.13, 3.11.8]
django-version: [3.2, 4.2, 5.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -q Django==${{ matrix.django-version }}
pip install -e .[flake8,tests]
- name: Lint with flake8
run: flake8
- name: Test with pytest
run: pytest