forked from testing-cabal/testtools
-
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 1.67 KB
/
pytest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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