-
Notifications
You must be signed in to change notification settings - Fork 14
68 lines (58 loc) · 1.81 KB
/
Group_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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Read grouping tests
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * 0,4'
env:
RUN_NAME: Resume_tests
LAUNCHER: ${{github.workspace}}/tests/github/run_pipeline.py
CFG_DIR: /abga/work/andreyp/ci_isoquant/data
BIN_PATH: /abga/work/andreyp/ci_isoquant/bin/
OUTPUT_BASE: /abga/work/andreyp/ci_isoquant/output/${{github.ref_name}}/
jobs:
launch-runner:
runs-on:
labels: [self-hosted]
name: 'Running IsoQuant and QC'
steps:
- name: 'Cleanup'
run: >
set -e &&
shopt -s dotglob &&
rm -rf *
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: 'Grouping by BAM tag'
if: always()
shell: bash
env:
STEP_NAME: GROUP1.TAG.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Grouping by TSV file'
if: always()
shell: bash
env:
STEP_NAME: GROUP2.TSV.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Grouping by read id'
if: always()
shell: bash
env:
STEP_NAME: GROUP3.READID.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Grouping by file name'
if: always()
shell: bash
env:
STEP_NAME: GROUP4.FILES.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}