ENH Switch to ONNX for model storage #374
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: Build Status | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
steps: | |
- name: Checking code | |
uses: actions/checkout@v3 | |
- name: Setup miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: test | |
python-version: ${{ matrix.python-version }} | |
auto-activate-base: false | |
- name: Install dependencies | |
shell: bash -l {0} | |
run : | | |
conda install -c bioconda -c conda-forge \ | |
ngless pyrodigal megahit paladin pandas requests atomium tzlocal onnxruntime | |
conda install pytest | |
pip install . | |
- name: Test with pytest | |
shell: bash -l {0} | |
run: | | |
python -m pytest macrel/tests | |
- name: Test Macrel CLI | |
shell: bash -l {0} | |
run: | | |
./run-tests.sh |