Skip to content

Add routing to automatically generate openAPI metadata for the biothings annotator service #29

Add routing to automatically generate openAPI metadata for the biothings annotator service

Add routing to automatically generate openAPI metadata for the biothings annotator service #29

name: Biothings Annotator Tests
on:
push: {}
pull_request:
branches:
- main
jobs:
run_user_geneset_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
steps:
- name: Checkout biothings_annotator source
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: pip install --upgrade pip
- name: Create Python Virtual Environment
run: python -m venv .venv
- name: Source Python Virtual Environment
run: source .venv/bin/activate
- name: Install dependences
run: pip install -e ".[tests]"
- name: Run Tests
run: python -m pytest tests/