Skip to content

Commit 437a214

Browse files
committed
Invoke pytest directly
1 parent 04aa5f3 commit 437a214

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1212
cancel-in-progress: true
1313

14+
env:
15+
FORCE_COLOR: "1"
16+
PYTHONDEVMODE: "1" # -X dev
17+
PYTHONWARNDEFAULTENCODING: "1" # -X warn_default_encoding
18+
1419
jobs:
1520
tests:
1621
runs-on: ubuntu-latest
@@ -33,12 +38,11 @@ jobs:
3338
- name: Install dependencies
3439
run: |
3540
python -m pip install --upgrade pip
36-
python -m pip install --upgrade tox
41+
python -m pip install --upgrade pytest
42+
python -m pip install --upgrade Sphinx @ git+https://github.com/sphinx-doc/sphinx
3743
38-
- name: Run tox
39-
run: |
40-
python -V
41-
tox -- -v --durations=25
44+
- name: Test with pytest
45+
run: python -m pytest --durations 25
4246

4347
lint:
4448
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)