Skip to content

Commit 2d562f8

Browse files
committed
add CI YAML for tests
1 parent 2a6814f commit 2d562f8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
name: Py-Pypr CI
3+
4+
on:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
9+
10+
jobs:
11+
tests:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: [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+
- uses: astral-sh/setup-uv@v5
22+
- name: Install project
23+
run: |
24+
uv pip install --system .
25+
- name: Run tests
26+
run: |
27+
pytest tests
28+
29+

0 commit comments

Comments
 (0)