Skip to content

Commit 1f59449

Browse files
committed
chore: add gh action for tests
1 parent 7feb447 commit 1f59449

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed
Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Type Check
1+
name: CI
22

33
on:
44
push:
@@ -7,7 +7,7 @@ on:
77
branches: [main]
88

99
jobs:
10-
type-check:
10+
test:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
@@ -20,5 +20,14 @@ jobs:
2020
- name: Install uv
2121
uses: astral-sh/setup-uv@v4
2222

23-
- name: Run mypy
24-
run: uv run mypy src/agent_chat_cli
23+
- name: Install dependencies
24+
run: uv sync --all-groups
25+
26+
- name: Run linter
27+
run: uv run ruff check src tests
28+
29+
- name: Run type checker
30+
run: uv run mypy src
31+
32+
- name: Run tests
33+
run: uv run pytest

0 commit comments

Comments
 (0)