Skip to content

Commit 6c9025f

Browse files
author
dtyagi
committed
provenance creation for snakemake and nextflow workflows
1 parent 112a3f5 commit 6c9025f

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

.github/workflows/run-benchmark.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,32 @@ jobs:
7373
name: fenics-output
7474
path: |
7575
benchmarks/linear-elastic-plate-with-hole/FEniCS/data
76-
76+
77+
- name: Archive fenics snakemake provenance
78+
uses: actions/upload-artifact@v4
79+
with:
80+
name: fenics-snakemake-provenance
81+
path: |
82+
benchmarks/linear-elastic-plate-with-hole/FEniCS/*.zip
83+
7784
- name: Archive kratos data
7885
uses: actions/upload-artifact@v4
7986
with:
8087
name: kratos-output
8188
path: |
8289
benchmarks/linear-elastic-plate-with-hole/Kratos/data
83-
90+
91+
- name: Archive fenics nextflow data
92+
uses: actions/upload-artifact@v4
93+
with:
94+
name: fenics-nextflow-output
95+
path: |
96+
benchmarks/linear-elastic-plate-with-hole/FEniCS_nextflow/work/**
97+
!benchmarks/linear-elastic-plate-with-hole/FEniCS_nextflow/work/conda/**
98+
99+
- name: Archive fenics nextflow provenance
100+
uses: actions/upload-artifact@v4
101+
with:
102+
name: fenics-nextflow-provenance
103+
path: |
104+
benchmarks/linear-elastic-plate-with-hole/FEniCS_nextflow/provenance.json

benchmarks/linear-elastic-plate-with-hole/FEniCS_nextflow/nextflow.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ prov {
1414
enabled = true
1515
formats {
1616
legacy {
17-
file = 'provenance.json'
17+
file = "provenance.json"
1818
overwrite = true
1919
}
2020
}

environment_benchmarks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ dependencies:
99
- meshio
1010
- conda-lock
1111
- conda
12+
- pip
13+
- pip:
14+
- git+https://github.com/izus-fokus/snakemake-report-plugin-metadata4ing

0 commit comments

Comments
 (0)