Improve error message when forced fail test fails #101
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
name: Run tests | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: Test Python ${{ matrix.python-version }} | |
# Todo: Revert to ubuntu-latest when Python 3.7 support no longer needed | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9", "3.8", "3.7"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r test_requirements.txt | |
- name: Run tests TEMP | |
# run: python -m pytest | |
run: python -m pytest -vvv --capture=no tests/test_mutation.py::test_run_forced_fail_test_with_failing_test_TEMP | |
continue-on-error: false | |
- name: Run tests | |
# run: python -m pytest | |
run: python -m pytest -vvv --capture=no tests/test_mutation.py::test_run_forced_fail_test_with_failing_test | |
continue-on-error: false |