Skip to content

Commit 2b0055f

Browse files
author
dtyagi
committed
updating github actions file
1 parent 94270d1 commit 2b0055f

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

.github/workflows/run-benchmark.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,33 @@ jobs:
2626
- name: checkout repo content
2727
uses: actions/checkout@v2
2828

29-
- name: Setup Mambaforge
29+
- name: setup-conda-environment
3030
uses: conda-incubator/setup-miniconda@v3
3131
with:
32-
miniforge-version: latest
33-
activate-environment: model-validation
34-
use-mamba: true
32+
python-version: "3.12"
33+
auto-update-conda: true
34+
conda-remove-defaults: true
3535

36-
- name: Update environment
37-
run: mamba env update -n model-validation -f environment_benchmarks.yml
38-
if: steps.cache.outputs.cache-hit != 'true'
39-
40-
- name: run-fenics-benchmarks
36+
- name: run-fenics-snakemake-benchmarks
4137
shell: bash -l {0}
4238
run: |
39+
conda install --override-channels -c conda-forge -c bioconda snakemake
4340
cd $GITHUB_WORKSPACE/benchmarks/linear-elasticity-plate-with-hole/
4441
snakemake --use-conda --force --cores 'all'
4542
46-
- name: run-Kratos-benchmarks
43+
- name: run-Kratos-snakemake-benchmarks
4744
shell: bash -l {0}
4845
run: |
4946
cd $GITHUB_WORKSPACE/benchmarks/linear-elasticity-plate-with-hole-Kratos/
5047
snakemake --use-conda --force --cores 'all'
5148
49+
- name: run-fenics-nextflow-benchmark
50+
shell: bash -l {0}
51+
run: |
52+
conda install --override-channels -c bioconda -c conda-forge nextflow=25.04.6
53+
cd $GITHUB_WORKSPACE/benchmarks/linear-elasticity-plate-with-hole-nextflow/
54+
nextflow run main.nf
55+
5256
#- name: run-optimization-workflow
5357
# shell: bash -l {0}
5458
# run: |
@@ -73,5 +77,4 @@ jobs:
7377
with:
7478
name: kratos-output
7579
path: |
76-
benchmarks/linear-elasticity-plate-with-hole-Kratos/data
77-
80+
benchmarks/linear-elasticity-plate-with-hole-Kratos/data

0 commit comments

Comments
 (0)