Skip to content

Commit eccdc8f

Browse files
committed
Add pip check
1 parent 0e7ffdb commit eccdc8f

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/pipeline.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,23 @@ jobs:
1919
options: "--check --diff"
2020
src: ./example_workflows/quantum_espresso/qe_xml_parser/src/qe_xml_parser
2121

22+
pip_check:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
- name: Setup Mambaforge
27+
uses: conda-incubator/setup-miniconda@v3
28+
with:
29+
auto-update-conda: true
30+
python-version: "3.12"
31+
environment-file: binder/environment.yml
32+
auto-activate-base: false
33+
- name: Pip check
34+
shell: bash -l {0}
35+
run: |
36+
pip install -e python_workflow_definition
37+
pip check
38+
2239
nfdi4ing:
2340
runs-on: ubuntu-22.04
2441
steps:

python_workflow_definition/pyproject.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,21 @@ authors = [
1010
{ name = "Jan Janssen", email = "janssen@mpie.de" },
1111
{ name = "Janine George", email = "janine.geogre@bam.de" },
1212
{ name = "Julian Geiger", email = "julian.geiger@psi.ch" },
13+
{ name = "Xing Wang", email = "xing.wang@psi.ch" },
1314
{ name = "Marnik Bercx", email = "marnik.bercx@psi.ch" },
1415
{ name = "Christina Ertural", email = "christina.ertural@bam.de" },
1516
]
1617
license = { text = "MIT" }
17-
dependencies = ["jobflow", "pyiron_base", "aiida-workgraph"]
18+
dependencies = [
19+
"aiida-workgraph>=0.5.1,<=0.5.2",
20+
"numpy>=1.21,<2",
21+
"jobflow>=0.1.18,<=0.1.19",
22+
"pyiron_base>=0.11.10,<=0.11.11",
23+
]
24+
25+
[project.optional-dependencies]
26+
plot = [
27+
"pygraphviz>=1.14,<=1.10",
28+
"networkx>=3.4.2,<=2.8.8",
29+
"ipython>=9.0.2,<=7.33.0",
30+
]

0 commit comments

Comments
 (0)