Updating calibration data.py file to create correct calibration data … #123
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: build-desktop | |
| on: [push, pull_request] | |
| jobs: | |
| python: | |
| env: | |
| UV_CACHE_DIR: /tmp/.uv-cache | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: "Set up Python" | |
| run: uv python install | |
| - name: Restore uv cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: /tmp/.uv-cache | |
| key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }} | |
| restore-keys: | | |
| uv-${{ runner.os }}-${{ hashFiles('uv.lock') }} | |
| uv-${{ runner.os }} | |
| # - name: Install the project | |
| # run: uv sync --locked --all-extras --dev | |
| # Ruff check | |
| - name: Format and Lint | |
| uses: astral-sh/ruff-action@v3 | |
| # run: ruff check --fix | |
| # run: ruff format | |
| # Run Tests and safety checks | |
| - name: Run tests | |
| run: bash scripts/safety.sh | |
| - name: Minimize uv cache | |
| run: uv cache prune --ci | |