Skip to content

Add mygeneset to biothings_core #23

Add mygeneset to biothings_core

Add mygeneset to biothings_core #23

Workflow file for this run

name: Test
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Lint check with Ruff
run: |
# stop the build if there are linting errors
ruff check . --statistics
- name: Format check with Ruff
run: |
ruff format --check .
- name: Test with pytest
run: |
pytest --cov=smartapi_mcp --cov-report=term-missing
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
if: matrix.python-version == '3.11'
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella