add some placeholder folders #15
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
| # CI workflow for RobotPy flatbot2026 | |
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| lint: | |
| name: Lint Python | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install dependencies (including ruff) | |
| run: uv sync --extra dev | |
| - name: Run ruff linter | |
| run: uv run ruff check . | |
| - name: Run ruff formatter check | |
| run: uv run ruff format --check . | |
| simulate: | |
| name: Test Simulator | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Run simulator test | |
| run: | | |
| # Run pyfrc builtin tests to verify robot code loads and runs in simulator | |
| uv run python -m robotpy test --builtin |