Skip to content

re-add metadata_process.py #28

re-add metadata_process.py

re-add metadata_process.py #28

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
env:
PATH_TO_SEQREPO: ./tests/data/seqrepo/latest
HG38_FILE: ./tests/data/hg38.2bit
steps:
- uses: actions/checkout@v3
- 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
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
env:
PATH_TO_SEQREPO: ./tests/data/seqrepo/latest
HG38_FILE: ./tests/data/hg38.2bit
GENE_NORM_DB_URL: postgres://postgres@localhost:5432/gene_normalizer
run: |
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
pytest