-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (30 loc) · 1.13 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: tests ci
# This workflow runs the pipeline with the minimal test dataset to check
# is completed without any errors
on:
pull_request:
push:
jobs:
test_analyze_schema:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: taranis_env
environment-file: environment.yml
- name: Verify Conda environment
run: conda env list
- name: Activate env and install taranis
run: |
source $CONDA/etc/profile.d/conda.sh
conda activate taranis_env
python -m pip install .
taranis analyze-schema -i test/MLST_listeria/analyze_schema -o analyze_schema_test --cpus 1 --output-allele-annot --remove-no-cds --remove-duplicated --remove-subset
- name: Testing Reference allele
run: |
source $CONDA/etc/profile.d/conda.sh
conda activate taranis_env
taranis reference-alleles -s test/MLST_listeria/reference_allele -o reference_allele_test --cpus 1