File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101 if-no-files-found : error
102102
103103 test-pytest-dev :
104- name : ubuntu - Python ${{ env.PYTHON_LATEST }} - pytest main
104+ name : ubuntu - Python latest - pytest main
105105 runs-on : ubuntu-latest
106106 continue-on-error : true
107107 steps :
@@ -116,11 +116,9 @@ jobs:
116116 python -VV
117117 python -m site
118118 python -m pip install --upgrade pip
119- python -m pip install --upgrade \
120- ".[testing]" \
121- "pytest @ git+https://github.com/pytest-dev/pytest.git"
119+ python -m pip install --upgrade tox
122120 - name : Run tests against pytest main
123- run : make test
121+ run : python -m tox run -e pytest-dev
124122
125123 lint-github-actions :
126124 name : Lint GitHub Actions
Original file line number Diff line number Diff line change @@ -40,6 +40,12 @@ commands = make test
4040allowlist_externals =
4141 make
4242
43+ [testenv:pytest-dev]
44+ description = Run tests against pytest main
45+ constraints =
46+ deps =
47+ pytest @ git+https://github.com/pytest-dev/pytest.git
48+
4349[testenv:docs]
4450allowlist_externals =
4551 git
You can’t perform that action at this time.
0 commit comments