Release 2026.2.1 #293
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: Checks | |
| on: | |
| push: | |
| branches: | |
| - mavedb-main | |
| - mavedb-dev | |
| pull_request: | |
| jobs: | |
| test: | |
| name: test py3.11 | |
| runs-on: ubuntu-latest | |
| env: | |
| MAVEDB_BASE_URL: https://api.mavedb.org | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install ".[tests]" | |
| - name: Run tests | |
| # only run tests known to work in CI | |
| run: | | |
| mkdir -p coverage | |
| python3 -m pytest tests/test_mavedb_data.py --cov-report=lcov:coverage/lcov.info | |
| - name: Upload coverage to Coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| path-to-lcov: coverage/lcov.info | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: python3 -m pip install ".[dev]" | |
| - name: Check style | |
| run: python3 -m ruff check . && ruff format --check . | |
| - name: Verify schema.json is up to date | |
| run: | | |
| python scripts/generate_schema.py | |
| git diff --exit-code schema.json |