Bump pre-commit from 2.21.0 to 3.5.0 #89
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |