Skip to content

Commit af30f32

Browse files
committed
adding ci
1 parent 2927bef commit af30f32

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test
2+
on:
3+
- push
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
python-version: [3.13]
10+
steps:
11+
12+
- name: checkout
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
20+
- name: Lint
21+
uses: astral-sh/ruff-action@v2
22+
with:
23+
args: 'check'
24+
25+
- name: Format
26+
uses: astral-sh/ruff-action@v2
27+
with:
28+
args: 'format --check'
29+
30+
- name: Install uv
31+
run: |
32+
pip install uv
33+
34+
- name: Run tests
35+
run: uv run pytest

0 commit comments

Comments
 (0)