Skip to content

Commit

Permalink
Merge pull request #38 from materialdigital/noworkflowframework
Browse files Browse the repository at this point in the history
Add example for running the workflow without a workflow framework
  • Loading branch information
jan-janssen authored Oct 22, 2024
2 parents 5dfb759 + 610d2a2 commit 344803f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: basic

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.11"
environment-file: environment.yml
auto-activate-base: false
- name: Tests
shell: bash -l {0}
run: |
pip install -e aiida_qe_basic
conda install -c conda-forge jupyter papermill
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
papermill basic.ipynb basic-out.ipynb -k "python3"
Loading

0 comments on commit 344803f

Please sign in to comment.