Skip to content

Commit 8c10362

Browse files
committed
Add pytest main CI smoke test
1 parent 31772d2 commit 8c10362

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,28 @@ jobs:
100100
path: coverage/coverage.*
101101
if-no-files-found: error
102102

103+
test-pytest-dev:
104+
name: ubuntu - Python ${{ env.PYTHON_LATEST }} - pytest main
105+
runs-on: ubuntu-latest
106+
continue-on-error: true
107+
steps:
108+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
109+
with:
110+
persist-credentials: false
111+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
112+
with:
113+
python-version: ${{ env.PYTHON_LATEST }}
114+
- name: Install dependencies
115+
run: |
116+
python -VV
117+
python -m site
118+
python -m pip install --upgrade pip
119+
python -m pip install --upgrade \
120+
".[testing]" \
121+
"pytest @ git+https://github.com/pytest-dev/pytest.git"
122+
- name: Run tests against pytest main
123+
run: make test
124+
103125
lint-github-actions:
104126
name: Lint GitHub Actions
105127
permissions:

0 commit comments

Comments
 (0)