Bump ruff from 0.12.5 to 0.12.7 #54
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: DevContainer | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| branches: [main, dev] | |
| jobs: | |
| devcontainer: | |
| name: DevContainer Build & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Cache Docker layers | |
| uses: actions/cache@v4 | |
| with: | |
| path: /tmp/.buildx-cache | |
| key: devcontainer-${{ runner.os }}-${{ github.sha }} | |
| restore-keys: | | |
| devcontainer-${{ runner.os }}- | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build DevContainer image | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| runCmd: | | |
| echo "Installing test dependencies..." | |
| pip install -e .[development,docs,casts] | |
| echo "Running pre-commit checks..." | |
| pre-commit run --all-files | |
| echo "Running unit tests..." | |
| python -m pytest tests | |
| echo "Building documentation..." | |
| make -C doc html | |
| make -C doc/landing-page html |