github workflows: build static binary as part of CI #38
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: Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| pull_request: | |
| jobs: | |
| continous-integration: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.8 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.8.18 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt install patchelf | |
| pip install uv | |
| - name: Check formatting with ruff | |
| run: | | |
| uvx ruff format --diff | |
| - name: Lint with ruff | |
| run: | | |
| uvx ruff check | |
| - name: Build static binary | |
| run: | | |
| ./build-binary.sh | |
| - name: Run unit tests | |
| run: | | |
| uv run pytest |