Skip to content

Commit 2fd6e64

Browse files
committed
chore: add CI
- pytest and pyright
1 parent d8f962e commit 2fd6e64

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lint and Test
2+
on:
3+
push:
4+
5+
jobs:
6+
lint-and-test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Install uv
13+
uses: astral-sh/setup-uv@v6
14+
with:
15+
version-file: "pyproject.toml"
16+
enable-cache: true
17+
18+
- name: pytest
19+
run: uv run --frozen pytest
20+
21+
- name: pyright
22+
run: uv run --frozen pyright

0 commit comments

Comments
 (0)