-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 982 Bytes
/
Copy pathci.yml
File metadata and controls
36 lines (34 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: ci
on:
push:
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: python -m pip install -e ".[dev]"
- name: Self-check support window
run: python-support-window .
- name: Run tests
run: python -m pytest -q
- name: CLI help
run: python-support-window --help
- name: Fixture demo (aligned)
run: python-support-window fixtures/aligned
- name: Fixture demo (mismatch exits 1)
shell: bash
run: |
if python-support-window fixtures/mismatch-classifiers; then
echo "expected non-zero exit" >&2
exit 1
fi