Skip to content

Commit

Permalink
add conftest.py file and mark slow test functions
Browse files Browse the repository at this point in the history
  • Loading branch information
chunyuma committed Dec 10, 2024
1 parent 22ad07f commit 20d19b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_y_integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import tempfile
import json
from os.path import exists
import pytest
cpath = os.path.dirname(os.path.realpath(__file__))
project_path = os.path.join(cpath,'..')

Expand Down Expand Up @@ -77,6 +78,7 @@ def test_run_pretrained_ref_db():
res = subprocess.run(cmd, shell=True, check=True)
assert res.returncode == 0

@pytest.mark.slow
def test_run_yacht_pretrained_ref_db():
cmd = f"yacht run --json ./gtdb-rs214-reps.k31_0.9995_pretrained/gtdb-rs214-reps.k31_0.9995_config.json --sample_file '{project_path}/tests/testdata/sample.sig.zip' --significance 0.99 --num_threads 32 --min_coverage_list 1 0.6 0.2 0.1 --out ./result_pretrained.xlsx"
res = subprocess.run(cmd, shell=True, check=True)
Expand Down

0 comments on commit 20d19b4

Please sign in to comment.