Skip to content

Bump validators from 0.22.0 to 0.24.0 #108

Bump validators from 0.22.0 to 0.24.0

Bump validators from 0.22.0 to 0.24.0 #108

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: Mutation Test Project
on: [pull_request, workflow_dispatch]
jobs:
mutation-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["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.7.1
- 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