Fix # 502 -- Update Python and Django versions #134
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
architecture: x64 | |
- name: Install tox | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade 'tox>=4.0' | |
- name: Run docs test build | |
run: tox -e docs | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
architecture: x64 | |
- name: Install tox | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade 'tox>=4.0' | |
- name: Run prospector linting | |
run: tox -e prospector | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
name: Python ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install tox | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade 'tox>=4.0' | |
- name: Run tests | |
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .) |