chore: Add web_agent_string input to action.yml #116
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.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 |