Skip to content

Replace Travis with GitHub actions #3

Replace Travis with GitHub actions

Replace Travis with GitHub actions #3

Workflow file for this run

name: CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
python: [3.6, 3.7, 3.8]
django: [2.2]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install test dependencies
run: pip install -r tests/requirements.txt
- name: Install dependencies
run: pip install -U django==${{ matrix.django }}
- name: Run tests
run: python manage.py test