Skip to content

Bump flake8 from 6.0.0 to 7.0.0 #95

Bump flake8 from 6.0.0 to 7.0.0

Bump flake8 from 6.0.0 to 7.0.0 #95

# 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: Mutation Test Project
on: [pull_request, workflow_dispatch]
jobs:
mutation-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.2.2
- name: Install dependencies
run: |
# installing dependencies used by the project
poetry install --no-interaction --no-ansi -v
- name: Unit and Coverage Test with pytest
run: |
# stop the build if there are any unit test failures
# or if our tests do not cover a significant
# amount of code
poetry run pytest -m "not integrationtest" --cov=deadseeker --cov-fail-under=95 --cov-branch --cov-report=term-missing
- name: Mutation Test with mutmut
run: |
# stop the build if the tests that we wrote are
# not very good
poetry run mutmut run --swallow-output