-
Notifications
You must be signed in to change notification settings - Fork 18
77 lines (64 loc) · 2.22 KB
/
run_all-modules.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
68
69
70
71
72
73
74
75
76
77
# This is a workflow to all of the analysis module workflows
#
# This workflow will run with the following triggers
# - Manual trigger
# - Periodic running on a timer
name: Run all analysis workflows
on:
schedule: # run monthly on the 3rd (intended to run after docker images are built)
- cron: "0 0 3 * *"
workflow_dispatch:
jobs:
# Modules to run
# Note: only 20 modules can be run per workflow
hello-R:
uses: ./.github/workflows/run_hello-R.yml
hello-python:
uses: ./.github/workflows/run_hello-python.yml
doublet-detection:
uses: ./.github/workflows/run_doublet-detection.yml
metacells:
uses: ./.github/workflows/run_metacells.yml
cell-type-ewings:
uses: ./.github/workflows/run_cell-type-ewings.yml
cell-type-wilms-06:
uses: ./.github/workflows/run_cell-type-wilms-tumor-06.yml
cell-type-wilms-14:
uses: ./.github/workflows/run_cell-type-wilms-tumor-14.yml
cell-type-ETP-ALL-03:
uses: ./.github/workflows/run_cell-type-ETP-ALL-03.yml
cell-type-nonETP-ALL-03:
uses: ./.github/workflows/run_cell-type-nonETP-ALL-03.yml
## Add additional modules above this comment, and to the needs list below
check-jobs:
if: ${{ always() }}
needs:
- hello-R
- hello-python
- doublet-detection
- cell-type-ewings
- cell-type-wilms-06
- cell-type-wilms-14
- cell-type-ETP-ALL-03
- cell-type-nonETP-ALL-03
runs-on: ubuntu-latest
steps:
- name: Checkout template file
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/cron-issue-templates/all-modules-issue-template.md
sparse-checkout-cone-mode: false
- name: Post issue with results from running all modules
if: contains(needs.*.result, 'failure')
uses: peter-evans/create-issue-from-file@v5
with:
title: Analysis module failing in CI
content-filepath: |
.github/cron-issue-templates/all-modules-issue-template.md
labels: |
OpenScPCA admin
ci
- name: Check for failures or cancelled jobs
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: echo "Job failed" && exit 1