Skip to content

Bump flake8 from 6.1.0 to 7.0.0 #81

Bump flake8 from 6.1.0 to 7.0.0

Bump flake8 from 6.1.0 to 7.0.0 #81

Workflow file for this run

name: Pytest-Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install linting dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --only lint
- name: Run flake8
run: |
poetry run flake8 pyfilehandling
Pytests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest", "macOS-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run pytest with coverage
run: |
poetry run coverage run -m pytest
poetry run coverage report --fail-under=50