pump ver for npmjs #10
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: | |
| jobs: | |
| merit-api-tests: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: merit_api | |
| steps: | |
| - name: Checkout | |
| 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: Run tests | |
| run: pytest -q | |
| - name: Regenerate method coverage report | |
| run: python scripts_report_method_test_coverage.py | |
| - name: Ensure coverage report is committed | |
| run: git diff --exit-code reports/method_test_coverage.md |