-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1.05 KB
/
juno_typing_test.yaml
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
# Testing for pipeline python wrapper and scripts used inside rules
name: Juno_typing test
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-20.04}
- {os: ubuntu-latest}
name: Testing Juno_typing ${{ matrix.config.os }}
steps:
- uses: actions/checkout@v2
- uses: eWaterCycle/setup-singularity@v7
with:
singularity-version: 3.8.7
- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
environment-file: envs/juno_typing.yaml
channel-priority: flexible
- name: Conda list
shell: bash -l {0}
run: conda list
- name: Test the python wrapper using juno_typing.
shell: bash -l {0}
run: python ./tests/test_juno_typing.py
- name: Test the scripts used in juno_typing.
shell: bash -l {0}
run: python ./tests/test_scripts_used_in_rules.py