Add examples of aliasing relationships to the cookbook #224
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.8", "3.9", "3.10", "3.11"] | |
django: ["3.2", "4.0", "4.1", "4.2", "5.0"] | |
exclude: | |
- python: "3.11" | |
django: "3.2" | |
- python: "3.11" | |
django: "4.0" | |
- python: "3.8" | |
django: "5.0" | |
- python: "3.9" | |
django: "5.0" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install package | |
run: pip install -e . | |
- name: Install dependencies | |
run: pip install -r dev-requirements.txt | |
- name: Install Django | |
run: pip install -U django==${{ matrix.django }} | |
- name: Run tests | |
run: ./runtests |