Update pytest.yml #5
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: pytest | |
on: [pull_request, push] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: {python-version: 3.x} | |
- run: pip install pytest testscenarios | |
# git+https://github.com/testing-cabal/testscenarios.git@master | |
- run: pip install -r requirements.txt || pip install --editable . || pip install . || true | |
- name: Pytests that pass | |
run: pytest | |
--ignore=testtools/tests/matchers/test_basic.py | |
--ignore=testtools/tests/matchers/test_const.py | |
--ignore=testtools/tests/matchers/test_datastructures.py | |
--ignore=testtools/tests/matchers/test_dict.py | |
--ignore=testtools/tests/matchers/test_doctest.py | |
--ignore=testtools/tests/matchers/test_exception.py | |
--ignore=testtools/tests/matchers/test_higherorder.py | |
--ignore=testtools/tests/matchers/test_warnings.py | |
--ignore=testtools/tests/test_testcase.py | |
--ignore=testtools/tests/test_testresult.py . | |
# TODO: Fix the pytests that fail and move them up | |
- name: Pytests that fail | |
run: pytest | |
testtools/tests/matchers/test_basic.py | |
testtools/tests/matchers/test_const.py | |
testtools/tests/matchers/test_datastructures.py | |
testtools/tests/matchers/test_dict.py | |
testtools/tests/matchers/test_doctest.py | |
testtools/tests/matchers/test_exception.py | |
testtools/tests/matchers/test_higherorder.py | |
testtools/tests/matchers/test_warnings.py | |
testtools/tests/test_testcase.py | |
testtools/tests/test_testresult.py || true | |
- run: pytest --doctest-modules . || true |