Skip to content

Commit

Permalink
DevOps: Use InstalledCode in integration tests (#5594)
Browse files Browse the repository at this point in the history
This was missed in the recent PR adding the `InstalledCode`.
  • Loading branch information
unkcpz authored Jul 15, 2022
1 parent 79bebf5 commit 15f4bae
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/config/add.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
label: add
description: add
input_plugin: core.arithmetic.add
default_calc_job_plugin: core.arithmetic.add
on_computer: true
computer: localhost
remote_abs_path: /bin/bash
filepath_executable: /bin/bash
prepend_text: ' '
append_text: ' '
4 changes: 2 additions & 2 deletions .github/config/doubler.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
label: doubler
description: doubler
input_plugin: core.templatereplacer
default_calc_job_plugin: core.templatereplacer
on_computer: true
computer: localhost
remote_abs_path: PLACEHOLDER_REMOTE_ABS_PATH_DOUBLER
filepath_executable: PLACEHOLDER_REMOTE_ABS_PATH_DOUBLER
prepend_text: ' '
append_text: ' '
1 change: 1 addition & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
paths:
- '.github/workflows/nightly.yml'
- '.github/workflows/setup.sh'
- '.molecule/default/files/**'
- 'aiida/storage/psql_dos/migrations/**'
- 'tests/storage/psql_dos/migrations/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ verdi setup --non-interactive --config "${CONFIG}/profile.yaml"
verdi computer setup --non-interactive --config "${CONFIG}/localhost.yaml"
verdi computer configure core.local localhost --config "${CONFIG}/localhost-config.yaml"
verdi computer test localhost
verdi code setup --non-interactive --config "${CONFIG}/doubler.yaml"
verdi code setup --non-interactive --config "${CONFIG}/add.yaml"
verdi code create core.code.installed --non-interactive --config "${CONFIG}/doubler.yaml"
verdi code create core.code.installed --non-interactive --config "${CONFIG}/add.yaml"

# set up slurm-ssh computer
verdi computer setup --non-interactive --config "${CONFIG}/slurm-ssh.yaml"
Expand Down

0 comments on commit 15f4bae

Please sign in to comment.