feat: 한밤의 늑대인간 FSM 구현 #3
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: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| working-directory: boardgame-ai | |
| run: pip install -e ".[dev]" | |
| - name: Lint (ruff) | |
| working-directory: boardgame-ai | |
| run: ruff check core/ bridge/ tests/ | |
| - name: Format check (black) | |
| working-directory: boardgame-ai | |
| run: black --check core/ bridge/ tests/ | |
| - name: Type check (mypy) | |
| working-directory: boardgame-ai | |
| run: mypy core/ bridge/ | |
| - name: Contract tests | |
| working-directory: boardgame-ai | |
| run: pytest tests/test_contracts.py -v |