Add lightweight GitHub Actions CI workflow and README CI documentation #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Install CuraFrame | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| - name: Import sanity check | |
| run: python -c "import cura_frame" | |
| - name: Run tests | |
| run: pytest | |
| - name: CLI smoke test | |
| run: python -m cura_frame.cli --help | |
| - name: Bytecode compile check | |
| run: python -m compileall cura_frame |