forked from zibraproject/zika-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 67
40 lines (33 loc) · 929 Bytes
/
unittests.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
38
39
name: fieldbioinformatics_unit_tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v1
name: Setup dependencies
with:
environment-file: environment.yml
init-shell: >-
bash
cache-environment: true
post-cleanup: "all"
- name: Pip install artic
run: |
python3 -m pip install -e .
shell: micromamba-shell {0}
- name: Run unit tests
run: |
pytest -s tests/*_unit_test.py
shell: micromamba-shell {0}
- name: Run clair3 test
run: |
./test-runner.sh clair3
shell: micromamba-shell {0}
- name: Run minion_validator tests
run: |
pytest -s tests/minion_validator.py
shell: micromamba-shell {0}