Skip to content

Commit 5a8e303

Browse files
committed
CI: Merge checks into test workflow
1 parent 6e86852 commit 5a8e303

File tree

2 files changed

+22
-40
lines changed

2 files changed

+22
-40
lines changed

.github/workflows/misc.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,28 @@ jobs:
163163
path: test-results.xml
164164
if: ${{ always() }}
165165

166+
checks:
167+
runs-on: 'ubuntu-latest'
168+
continue-on-error: true
169+
strategy:
170+
matrix:
171+
check: ['style', 'doctest', 'typecheck']
172+
173+
steps:
174+
- uses: actions/checkout@v3
175+
- name: Set up Python ${{ matrix.python-version }}
176+
uses: actions/setup-python@v4
177+
with:
178+
python-version: 3
179+
- name: Display Python version
180+
run: python -c "import sys; print(sys.version)"
181+
- name: Show tox config
182+
run: pipx run tox c
183+
- name: Show tox config (this call)
184+
run: pipx run tox c -e ${{ matrix.check }}
185+
- name: Run check
186+
run: pipx run tox -e ${{ matrix.check }}
187+
166188
publish:
167189
runs-on: ubuntu-latest
168190
environment: "Package deployment"

0 commit comments

Comments
 (0)