Skip to content

Bump django from 4.2.1 to 4.2.12 #16

Bump django from 4.2.1 to 4.2.12

Bump django from 4.2.1 to 4.2.12 #16

Workflow file for this run

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