Skip to content

Commit 636c596

Browse files
jasperdewclaude
andcommitted
Add CI workflow for import and compile checks
Verifies the package installs and imports correctly on push to main and PRs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 558e8b6 commit 636c596

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Lint & Check
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
check:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.12'
19+
20+
- name: Install package
21+
run: pip install -e .
22+
23+
- name: Check imports
24+
run: python -c "import langbly; print(f'langbly {langbly.__version__} imported successfully')"
25+
26+
- name: Compile check
27+
run: python -m py_compile src/langbly/__init__.py && python -m py_compile src/langbly/client.py

0 commit comments

Comments
 (0)