-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a GitHub workflow `.github/workflows/ci.yml` that will trigger on push and pull requests. It will run the five actions it defines: * `conda`: will install conda and create the environment * `docs`: builds the documentation with nitpick warning * `pre-commit`: runs pre-commit on all files * `tests`: runs `verdi devel tests` and the stand alone test files * `verdi`: runs the tests that check the load time is acceptable All tests are performed for python 3.7 except for the `tests` action that is done for 3.5 as well. Both python versions are run for both database backends in a matrix strategy. Even though we support 3.6 as well we do not explicitly test it since it will require another two builds and testing 3.5 and 3.7 should give decent guarantees. Finally the argument for multiple individual actions instead of joining them is based on the fact that there does not seem to be a limit on concurrent number of actions on GitHub as of this writing. This means that by spreading them out, allows running them in parallel which should reduce the overal runtime of the continuous integration workflow.
- Loading branch information
Showing
23 changed files
with
381 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
label: doubler | ||
description: doubler | ||
input_plugin: templatereplacer | ||
on_computer: true | ||
computer: localhost | ||
remote_abs_path: PLACEHOLDER_REMOTE_ABS_PATH | ||
prepend_text: ' ' | ||
append_text: ' ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
safe_interval: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
label: localhost | ||
description: localhost | ||
hostname: localhost | ||
transport: local | ||
scheduler: direct | ||
shebang: '#!/usr/bin/env bash' | ||
work_dir: PLACEHOLDER_WORK_DIR | ||
mpirun_command: ' ' | ||
mpiprocs_per_machine: 1 | ||
prepend_text: ' ' | ||
append_text: ' ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
profile: PLACEHOLDER_PROFILE | ||
email: aiida@localhost | ||
first_name: Giuseppe | ||
last_name: Verdi | ||
institution: Khedivial | ||
db_backend: PLACEHOLDER_BACKEND | ||
db_engine: postgresql_psycopg2 | ||
db_host: localhost | ||
db_port: 5432 | ||
db_name: PLACEHOLDER_DATABASE_NAME | ||
db_username: postgres | ||
db_password: '' | ||
repository: PLACEHOLDER_REPOSITORY |
Oops, something went wrong.