Skip to content

Merge branch 'main' into YAC-46-tests #124

Merge branch 'main' into YAC-46-tests

Merge branch 'main' into YAC-46-tests #124

Workflow file for this run

name: runTest
on: [push]
jobs:
test-python-app:
runs-on: ubuntu-20.04
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: yacht_env
environment-file: env/yacht_env.yml
- name: make training data
run: python make_training_data_from_sketches.py --ref_file 'tests/testdata/20_genomes_sketches.zip' --ksize 31 --prefix 'gtdb_ani_thresh_0.95' --ani_thresh 0.95 --outdir ./ --force
- name: run YACHT
run: python run_YACHT.py --json gtdb_ani_thresh_0.95_config.json --sample_file 'tests/testdata/sample.sig.zip' --significance 0.99 --min_coverage_list 1 0.6 0.2 0.1
- name: test-unit
run: pytest tests/test_unit.py
- name: test-utils
run: pytest tests/test_utils.py
- name: test-workflow
run: pytest tests/test_workflow.py
- name: integration-tests
run: pytest -vv tests/integration_tests.py
- name: unit-tests
run: pytest -vv tests/unittests.py