Bump django from 4.2.1 to 4.2.12 #16
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: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
defaults: | |
run: | |
working-directory: ./src | |
jobs: | |
linting-and-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: [3.9] | |
django-version: [3.2, 4.2] | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
with: | |
path: ./src | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '${{ matrix.python-version }}' | |
- name: Install python dependencies | |
run: | | |
pip install poetry | |
make install | |
- name: Install matrix specific dependencies | |
run: | | |
source $(poetry env info --path)/bin/activate | |
pip install "Django~=${{ matrix.django-version }}.0" | |
pip list | |
- name: Lint with flake8 (black and isort) | |
run: | | |
source $(poetry env info --path)/bin/activate | |
make lint | |
- name: Run the testsuite | |
run: | | |
source $(poetry env info --path)/bin/activate | |
make test |