Change default theme of the docs (GH-37) #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os || 'ubuntu-latest' }} | |
strategy: | |
matrix: | |
include: | |
- python: "3.6" | |
env: py36-django21 | |
os: ubuntu-20.04 # 3.6 is not available on ubuntu-20.04 | |
- python: "3.8" | |
env: py38-django21 | |
- python: "3.9" | |
env: py39-django21 | |
- python: "3.6" | |
env: py36-django32 | |
os: ubuntu-20.04 # 3.6 is not available on ubuntu-20.04 | |
- python: "3.8" | |
env: py38-django32 | |
- python: "3.10" | |
env: py310-django32 | |
- python: "3.8" | |
env: py38-django40 | |
- python: "3.9" | |
env: py39-django40 | |
- python: "3.10" | |
env: py310-django40 | |
- python: "3.9" | |
env: py39-django41 | |
- python: "3.10" | |
env: py310-django41 | |
- python: "3.11" | |
env: py311-django41 | |
- python: "3.9" | |
env: py39-django42 | |
- python: "3.10" | |
env: py310-django42 | |
- python: "3.11" | |
env: py311-django42 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
sh build.sh | |
pip install tox tox-gh-actions | |
- name: Run tests using tox | |
run: tox -e ${{ matrix.env }} |