Skip to content

Merge pull request #54 from maykinmedia/release/2.2.0 #203

Merge pull request #54 from maykinmedia/release/2.2.0

Merge pull request #54 from maykinmedia/release/2.2.0 #203

Workflow file for this run

name: Code quality checks
# Run this workflow every time a new commit pushed to your repository
on:
push:
branches:
- main
tags:
- '*'
paths:
- '**.py'
pull_request:
paths:
- '**.py'
workflow_dispatch:
jobs:
linting:
name: Code-quality checks
runs-on: ubuntu-latest
strategy:
matrix:
toxenv:
- isort
- black
- docs
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: pip install tox tox-gh-actions
- run: tox
env:
TOXENV: ${{ matrix.toxenv }}