fix: use __version__ for health endpoint version in models.py #424
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: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| - name: Validate scorer | |
| run: | | |
| python eval/memory-test/harness.py validate | |
| - name: Run pytest | |
| run: | | |
| python -m pytest tests/test_memory_harness.py -v --tb=short | |
| - name: Run benchmark tests | |
| run: | | |
| python -m pytest tests/test_memory_harness.py -v -m benchmark |