-
Notifications
You must be signed in to change notification settings - Fork 21
44 lines (38 loc) · 1.07 KB
/
ci.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
name: CI
on:
push:
branches:
- dev
- main
- ci
pull_request:
branches:
- dev
- main
release:
types: [published]
env:
NXF_SINGULARITY_CACHEDIR: "${{ github.workspace }}/singularity"
SINGULARITY_VERSION: "3.8.3"
jobs:
preload_docker:
uses: ./.github/workflows/preload-docker.yml
preload_singularity:
uses: ./.github/workflows/preload-singularity.yml
with:
singularity_version: ${{ env.SINGULARITY_VERSION }}
nxf_singularity_cachedir: ${{ env.NXF_SINGULARITY_CACHEDIR }}
standard_test_docker:
needs: preload_docker
uses: ./.github/workflows/standard-test.yml
with:
cache-key: ${{ needs.preload_docker.outputs.cache-key }}
docker: true
standard_test_singularity:
needs: preload_singularity
uses: ./.github/workflows/standard-test.yml
with:
cache-key: ${{ needs.preload_singularity.outputs.cache-key }}
singularity: true
singularity_version: ${{ env.SINGULARITY_VERSION }}
nxf_singularity_cachedir: ${{ env.NXF_SINGULARITY_CACHEDIR }}