-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 1.07 KB
/
test_v9.yml
File metadata and controls
39 lines (37 loc) · 1.07 KB
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: Test Sm v9
on:
workflow_dispatch:
push:
branches:
- main
- dev
pull_request:
branches:
- "**"
jobs:
run_test_pipeline:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup environment
uses: conda-incubator/setup-miniconda@v3
with:
channel-priority: strict
activate-environment: snakemake
auto-activate-base: false
miniforge-version: latest
environment-file: .test/environment_v9.yaml
- name: Run test pipeline
shell: bash -el {0}
run: snakemake --snakefile .test/Snakefile --configfile config/config.yaml .test/targets.yaml -c1 --sdm conda --keep-going --notemp
- name: Pack logs
if: success() || failure()
shell: bash -el {0}
run: tar czf logs.tar.gz .test/output .snakemake/log
- name: Upload output file
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: output-logs
path: logs.tar.gz