fix uv setup #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: Remote Dev Fast-Track | |
| on: | |
| push: | |
| branches: [ remote-dev ] | |
| jobs: | |
| fast_dev_check: | |
| name: Quick Build & Test (Ubuntu) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| python-version: "3.13t" # 't' for free-threading if you're testing that! | |
| - name: Install System Build Tools | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang llvm ninja-build | |
| - name: Build & Install Project | |
| # We drop --system. uv will create a managed venv automatically. | |
| # This installs deps + your C++ extension in one go. | |
| run: | | |
| uv pip install numpy psutil | |
| uv pip install . | |
| - name: Run Core Tests | |
| # Use 'uv run' to ensure we use the environment we just built | |
| run: | | |
| uv run python tests/test_core.py | |
| - name: Quick Benchmarks | |
| run: | | |
| echo "## Dev Benchmarks" >> $GITHUB_STEP_SUMMARY | |
| echo '```' >> $GITHUB_STEP_SUMMARY | |
| uv run python tests/benchmark.py --leak >> $GITHUB_STEP_SUMMARY | |
| echo '```' >> $GITHUB_STEP_SUMMARY |