Skip to content

tests: add inflection to tox.ini #40

tests: add inflection to tox.ini

tests: add inflection to tox.ini #40

Workflow file for this run

name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
py:
- "3.12"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}
- name: Install tox
run: pip3 install tox
- name: Run tox
shell: bash
run: |
tox
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install linters
run: pip3 install black flake8
- name: Run black
run: black */ *.py
- name: Run flake8
run: flake8 --max-line-length 100