Skip to content

updating github actions file #156

updating github actions file

updating github actions file #156

Workflow file for this run

name: CI
on:
push:
branches-ignore:
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Runs the workflow once per day at 3:15am
schedule:
- cron: '3 16 * * *'
env:
CACHE_NUMBER: 1 # increase to reset cache manually
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2
- name: setup-conda-environment
uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.12"
auto-update-conda: true
conda-remove-defaults: true
- name: run-fenics-snakemake-benchmarks
shell: bash -l {0}
run: |
conda install --override-channels -c conda-forge -c bioconda snakemake
cd $GITHUB_WORKSPACE/benchmarks/linear-elasticity-plate-with-hole/
snakemake --use-conda --force --cores 'all'
- name: run-Kratos-snakemake-benchmarks
shell: bash -l {0}
run: |
cd $GITHUB_WORKSPACE/benchmarks/linear-elasticity-plate-with-hole-Kratos/
snakemake --use-conda --force --cores 'all'
- name: run-fenics-nextflow-benchmark
shell: bash -l {0}
run: |
conda install --override-channels -c bioconda -c conda-forge nextflow=25.04.6
cd $GITHUB_WORKSPACE/benchmarks/linear-elasticity-plate-with-hole-nextflow/
nextflow run main.nf
#- name: run-optimization-workflow
# shell: bash -l {0}
# run: |
# cd $GITHUB_WORKSPACE/usecases/optimization_paper/optimization_workflow/
# snakemake -c 1
#- name: run-optimization-paper
# shell: bash -l {0}
# run: |
# cd $GITHUB_WORKSPACE/usecases/optimization_paper/
# doit
- name: Archive fenics data
uses: actions/upload-artifact@v4
with:
name: fenics-output
path: |
benchmarks/linear-elasticity-plate-with-hole/data
- name: Archive kratos data
uses: actions/upload-artifact@v4
with:
name: kratos-output
path: |
benchmarks/linear-elasticity-plate-with-hole-Kratos/data