Skip to content

Bump black from 19.10b0 to 24.3.0 #16

Bump black from 19.10b0 to 24.3.0

Bump black from 19.10b0 to 24.3.0 #16

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
tests:
runs-on: ${{ matrix.os }}
name: black and pytest
strategy:
matrix:
os: [ubuntu-16.04, ubuntu-18.04, macos-latest]
python-version: [3.5, 3.6, 3.7, 3.8]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
- name: black linter
run: |
pip install black
black . --check
if: matrix.python-version > 3.5
- name: test scripts
run: |
pytest --cov=subway -svv