Skip to content

Bump flake8-isort from 6.0.0 to 6.1.0 #239

Bump flake8-isort from 6.0.0 to 6.1.0

Bump flake8-isort from 6.0.0 to 6.1.0 #239

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: [3.10.10]
poetry-version: [1.4.0]
os: [ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install poetry dependencies
run: poetry install
- name: Lint with flake8 / black
run: |
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --show-source --statistics
poetry run black --check .
- name: Test with pytest
run: |
poetry run pytest