Merge pull request #67 from hellolifeforms/feature/multi-resolution-v… #55
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 | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| working-directory: server | |
| run: pip install -e ".[dev,worker]" | |
| - name: Lint | |
| working-directory: server | |
| run: ruff check ecosim/ | |
| - name: Test | |
| working-directory: server | |
| run: pytest tests/ -v | |
| - name: Smoke test | |
| working-directory: server | |
| run: python tests/smoke_test.py |