Skip to content

Bump pytest from 6.2.4 to 7.4.2 #100

Bump pytest from 6.2.4 to 7.4.2

Bump pytest from 6.2.4 to 7.4.2 #100

Workflow file for this run

name: Python
on:
push:
paths:
- "**/*.py"
- ".github/workflows/python.yaml"
- "requirements.txt"
- "requirements-test.txt"
- "pyproject.toml"
jobs:
lint-python:
name: Lint Python Code
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/[email protected]
with:
python-version: 3.8
- name: Cache Pip
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('requirements.txt', 'requirements-test.txt') }}
- name: Setup
run: |
pip install --requirement requirements.txt --requirement requirements-test.txt
- name: Lint Python Code
run: |
isort --check --diff .
black --check --diff .
find . -name "*.py" | xargs pylint