Skip to content

Commit 5bb441c

Browse files
authored
Create ci.yml
1 parent 5c89fd9 commit 5bb441c

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
python-version: ["3.10", "3.11", "3.12"]
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install
22+
run: pip install -e ".[test]"
23+
- name: Test
24+
run: pytest -q
25+
- name: Demo (self-check against bundled targets)
26+
run: python -m authprobe.demo

0 commit comments

Comments
 (0)