Skip to content

adding unittest for newick encoding #39

adding unittest for newick encoding

adding unittest for newick encoding #39

Workflow file for this run

name: Run tests of pyoma
on:
push:
branches: [ $default-branch, develop ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python-version}}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .[create_db,enrichment]
- name: Download test database
run: |
curl https://zoo.cs.ucl.ac.uk/annex/TestDb.h5 -o TestDb.h5
curl https://zoo.cs.ucl.ac.uk/annex/TestDb.h5.idx -o TestDb.h5.idx
- name: Check versions of installed libraries/systems
run: python -c "import sys, tables; print(sys.version); tables.print_versions()"
- name: Test with pytest
run: |
pytest