Bump black from 22.3.0 to 24.3.0 in /requirements #8
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 | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Python pip cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/testing.txt') }} | |
- name: Run check | |
run: | | |
pip install $(grep "^tox==" requirements/local.txt) | |
tox -e check | |
lint: | |
name: Lint | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Python pip cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/testing.txt') }} | |
- name: Run lint | |
run: | | |
pip install $(grep "^tox==" requirements/local.txt) | |
tox -e lint | |
test: | |
name: Test -- Python ${{ matrix.python }} - Django ${{ matrix.django }} | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python: | |
- '3.5' | |
- '3.6' | |
- '3.7' | |
- '3.8' | |
django: | |
- '1.11' | |
- '2.2' | |
exclude: | |
- python: '3.8' | |
django: '1.11' | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Python pip cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-python${{ matrix.python }}-django${{ matrix.django }}-pip-${{ hashFiles('requirements/testing.txt') }} | |
- name: Run tests | |
env: | |
PYTHON_VERSION: ${{ matrix.python }} | |
run: | | |
pip install $(grep "^tox==" requirements/local.txt) | |
tox -e py${PYTHON_VERSION//./}-django${{ matrix.django }} |