Skip to content

Add CI workflow for import and compile checks #1

Add CI workflow for import and compile checks

Add CI workflow for import and compile checks #1

Workflow file for this run

name: Lint & Check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install package
run: pip install -e .
- name: Check imports
run: python -c "import langbly; print(f'langbly {langbly.__version__} imported successfully')"
- name: Compile check
run: python -m py_compile src/langbly/__init__.py && python -m py_compile src/langbly/client.py