Skip to content

Merge pull request #24 from VariantEffect/feature/bencap/23/gene-norm… #102

Merge pull request #24 from VariantEffect/feature/bencap/23/gene-norm…

Merge pull request #24 from VariantEffect/feature/bencap/23/gene-norm… #102

Workflow file for this run

name: Checks
on: [push, pull_request]
jobs:
test:
name: test py${{ matrix.python-version }}
runs-on: ubuntu-latest
env:
MAVEDB_BASE_URL: https://api.mavedb.org
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install ".[tests]"
- name: Run tests
# only run tests known to work in CI
run: python3 -m pytest tests/test_mavedb_data.py tests/test_vrs_map.py
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 .