Skip to content

Commit 96685cf

Browse files
committed
feat: add CI workflow for automated testing and linting; update method signatures in SlideBuilder for consistency
1 parent af58bf9 commit 96685cf

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
matrix:
14+
python-version: ['3.11.9']
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: Install uv
25+
run: |
26+
curl -LsSf https://astral.sh/uv/install.sh | sh
27+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
28+
29+
- name: Install dependencies
30+
run: |
31+
uv pip install --system .
32+
uv pip install --system ".[dev]"
33+
34+
- name: Format check
35+
run: task format-check
36+
37+
- name: Lint
38+
run: task lint
39+
40+
- name: Type check
41+
run: task typecheck
42+
43+
- name: Test
44+
run: task test

0 commit comments

Comments
 (0)