Add sentry listener for the webapp #194
This file contains 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: Biothings Annotator Tests | |
on: | |
push: {} | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run_biothings_annotator_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 -m unit tests/ |