Skip to content

Bump flake8 from 4.0.1 to 5.0.4 #77

Bump flake8 from 4.0.1 to 5.0.4

Bump flake8 from 4.0.1 to 5.0.4 #77

Workflow file for this run

name: test
on: [push]
env:
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
poetry-version: ["1.8.1"]
steps:
- uses: actions/checkout@v3
- name: Python Poetry Action
uses: abatilo/actions-poetry@v3.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: |
poetry install --with dev,extras
- name: Run tests
run: |
poetry run coverage run -m pytest
poetry run coverage lcov -o coverage/lcov.info
poetry run coverage html -d coverage
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}