Skip to content

Commit

Permalink
Update workflow for software.eessi.io
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa committed Dec 1, 2023
1 parent d36da32 commit ccecea4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source /cvmfs/pilot.eessi-hpc.org/versions/2021.12/init/bash
source /cvmfs/software.eessi.io/versions/2023.06/init/bash
module purge
module load Nextflow
module load GROMACS/2020.4-foss-2020a-Python-3.8.2
module load TensorFlow
6 changes: 3 additions & 3 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: eessi/github-action-eessi@v2
- uses: eessi/github-action-eessi@v3
- name: Test workflow
shell: bash
run: |
# Environment is completely configured via .envrc
./hello_plus_version.nf
shell: bash
- name: Test caching effect EESSI
shell: bash
run: |
./hello_plus_version.nf
shell: bash
2 changes: 1 addition & 1 deletion .install_direnv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Make sure there's a location already in PATH that we can install to
mkdir -p $HOME/.local/bin &&
# Run the direnv installer (!!not secure!! we will ship direnv with EESSI in 2023.04)
# Run the direnv installer (!!not secure!! we should ship direnv with EESSI)
curl -sfL https://direnv.net/install.sh | bash &&
# Add the direnv hook to our shell
echo 'eval "$(direnv hook bash)"' >> $HOME/.bashrc &&
Expand Down
4 changes: 2 additions & 2 deletions hello_plus_version.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ process sayHello {
"""
}

process getVersionGROMACS {
process getVersionTensorFlow {
output:
stdout
script:
"""
gmx --version
python -c "import tensorflow; print(tensorflow.__version__)"
"""
}

Expand Down

0 comments on commit ccecea4

Please sign in to comment.