Skip to content

debug ci #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .ci_support/aiida.py → .ci_support/test_with_aiida.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from python_workflow_definition.aiida import load_workflow_json
from aiida import load_profile
load_profile()

from python_workflow_definition.aiida import load_workflow_json


if __name__ == "__main__":
load_profile()
workgraph = load_workflow_json(file_name='workflow.json')
workgraph.run()
File renamed without changes.
File renamed without changes.
27 changes: 13 additions & 14 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ jobs:
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
- name: Installation and setup
- name: Test
shell: bash -l {0}
run: |
pip install python-workflow-definition
verdi presto --profile-name pwd
- name: Tests
shell: bash -l {0}
run: python .ci_support/aiida.py
cp .ci_support/test_with_aiida.py .
python test_with_aiida.py

jobflow:
runs-on: ubuntu-latest
Expand All @@ -39,12 +38,12 @@ jobs:
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
- name: Installation and setup
shell: bash -l {0}
run: pip install python-workflow-definition
- name: Tests
- name: Test
shell: bash -l {0}
run: python .ci_support/jobflow.py
run: |
pip install python-workflow-definition
cp .ci_support/test_with_jobflow.py .
python test_with_jobflow.py

pyiron:
runs-on: ubuntu-latest
Expand All @@ -58,9 +57,9 @@ jobs:
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
- name: Installation and setup
- name: Test
shell: bash -l {0}
run: pip install python-workflow-definition
- name: Tests
shell: bash -l {0}
run: python .ci_support/pyiron.py
run: |
pip install python-workflow-definition
cp .ci_support/test_with_pyiron.py .
python test_with_pyiron.py
Loading