Skip to content

Commit 9245968

Browse files
authored
debug ci (#1)
* debug ci * update aiida * reorder imports * fix import * rename
1 parent 97bac14 commit 9245968

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
from python_workflow_definition.aiida import load_workflow_json
21
from aiida import load_profile
2+
load_profile()
3+
4+
from python_workflow_definition.aiida import load_workflow_json
35

46

57
if __name__ == "__main__":
6-
load_profile()
78
workgraph = load_workflow_json(file_name='workflow.json')
89
workgraph.run()

.github/workflows/pipeline.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ jobs:
1818
miniforge-version: latest
1919
condarc-file: .condarc
2020
environment-file: environment.yml
21-
- name: Installation and setup
21+
- name: Test
2222
shell: bash -l {0}
2323
run: |
2424
pip install python-workflow-definition
2525
verdi presto --profile-name pwd
26-
- name: Tests
27-
shell: bash -l {0}
28-
run: python .ci_support/aiida.py
26+
cp .ci_support/test_with_aiida.py .
27+
python test_with_aiida.py
2928
3029
jobflow:
3130
runs-on: ubuntu-latest
@@ -39,12 +38,12 @@ jobs:
3938
miniforge-version: latest
4039
condarc-file: .condarc
4140
environment-file: environment.yml
42-
- name: Installation and setup
43-
shell: bash -l {0}
44-
run: pip install python-workflow-definition
45-
- name: Tests
41+
- name: Test
4642
shell: bash -l {0}
47-
run: python .ci_support/jobflow.py
43+
run: |
44+
pip install python-workflow-definition
45+
cp .ci_support/test_with_jobflow.py .
46+
python test_with_jobflow.py
4847
4948
pyiron:
5049
runs-on: ubuntu-latest
@@ -58,9 +57,9 @@ jobs:
5857
miniforge-version: latest
5958
condarc-file: .condarc
6059
environment-file: environment.yml
61-
- name: Installation and setup
60+
- name: Test
6261
shell: bash -l {0}
63-
run: pip install python-workflow-definition
64-
- name: Tests
65-
shell: bash -l {0}
66-
run: python .ci_support/pyiron.py
62+
run: |
63+
pip install python-workflow-definition
64+
cp .ci_support/test_with_pyiron.py .
65+
python test_with_pyiron.py

0 commit comments

Comments
 (0)