Standardize plugin id to bunnyland.cartographysim #2
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| server: | |
| name: Server Plugin (lint + tests) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout cartographysim plugin | |
| uses: actions/checkout@v4 | |
| with: | |
| path: bunnyland-cartographysim | |
| # The plugin runs against a sibling bunnyland-server checkout: tests/conftest.py | |
| # puts ../bunnyland-server/src on sys.path, and its virtualenv provides bunnyland + | |
| # relics + ruff. This mirrors local development instead of building a container. | |
| - name: Checkout bunnyland-server | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: thalismind/bunnyland-server | |
| ref: main | |
| path: bunnyland-server | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Lint | |
| working-directory: bunnyland-cartographysim/server | |
| run: uv run --project ../../bunnyland-server ruff check src tests | |
| - name: Test | |
| working-directory: bunnyland-cartographysim/server | |
| run: uv run --project ../../bunnyland-server -m pytest |