Pixi fixes for bitbots education #2601
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 & Test | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| push: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cancel outdated jobs | |
| uses: fkirc/skip-duplicate-actions@v5 | |
| with: | |
| cancel_others: 'true' | |
| # Remove comments to spawn an interactive debugging ssh shell in the ci | |
| #- name: Setup tmate session | |
| # uses: mxschmitt/action-tmate@v3 | |
| # with: | |
| # detached: true | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Configure git to trust repository | |
| run: git config --global --add safe.directory /__w/bitbots_main/bitbots_main | |
| - name: Install host dependencies | |
| run: scripts/make_basler.sh --ci | |
| - name: Set up workspace | |
| uses: prefix-dev/setup-pixi@v0.9.3 | |
| with: | |
| pixi-version: v0.59.0 | |
| cache: false # Disable caching to avoid issues with large pytorch packages | |
| - name: Build | |
| run: pixi run build | |
| - name: Test | |
| run: pixi run test --parallel-workers 1 |