Add multiplayer system, backend server, CI/CD pipeline #4
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: Backend Test | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "backend/**" | |
| - "src/fall_in/core/**" | |
| - "src/fall_in/net/**" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "backend/**" | |
| - "src/fall_in/core/**" | |
| - "src/fall_in/net/**" | |
| defaults: | |
| run: | |
| shell: bash | |
| working-directory: backend | |
| jobs: | |
| test: | |
| name: Lint & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies | |
| run: uv sync --extra dev | |
| - name: Lint (ruff) | |
| run: uv run ruff check app/ tests/ | |
| - name: Test (pytest) | |
| run: uv run pytest --cov=app --cov-report=term-missing |