File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ test-py314 :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v4
13+
14+ - name : Set up Python 3.14
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : ' 3.14'
18+
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ python -m pip install -e . "pytest<9"
23+
24+ - name : Run tests
25+ run : pytest -q
26+
27+ test-py36 :
28+ runs-on : ubuntu-latest
29+ container :
30+ image : python:3.6-bullseye
31+
32+ steps :
33+ - name : Checkout
34+ uses : actions/checkout@v4
35+
36+ - name : Install dependencies
37+ run : |
38+ python -m pip install --upgrade pip
39+ python -m pip install -e . "pytest<8"
40+
41+ - name : Run tests
42+ run : pytest -q
Original file line number Diff line number Diff line change 1212
1313def pytest_collection_modifyitems (config , items ):
1414 if not HAS_TSTRINGS :
15- marker = pytest .mark .skip (reason = 'no t-strings' )
15+ marker = pytest .mark .skip (reason = 'doctests require t-strings' )
1616 for it in items :
17- if it .nodeid . startswith ( 'README.md' ) :
17+ if it .__class__ . __name__ == 'DoctestItem' :
1818 it .add_marker (marker )
1919
2020
You can’t perform that action at this time.
0 commit comments