Skip to content

Update pytest.yml

Update pytest.yml #4

Workflow file for this run

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
- 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 .
- 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