Skip to content

Commit ac32634

Browse files
committed
add requirements to CI
1 parent 522c561 commit ac32634

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/test-pdf-pack.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ jobs:
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
channels: conda-forge
25-
- name: Install diffpy.cmi
25+
- name: Install diffpy.cmi and dependencies
2626
run: |
2727
conda install -y diffpy.cmi
28+
for file in requirements/packs/*.txt; do
29+
xargs -a "$file" conda install -y -c conda-forge
30+
done
2831
- name: Run diffpy.cmi scripts from docs/examples
2932
shell: bash
3033
run: |
@@ -51,6 +54,14 @@ jobs:
5154
run: |
5255
python -m pip install --upgrade pip
5356
pip install diffpy.cmi
57+
58+
- name: Install diffpy.cmi and dependencies (pip)
59+
run: |
60+
python -m pip install --upgrade pip
61+
pip install diffpy.cmi
62+
for file in requirements/packs/*.txt; do
63+
pip install -r "$file"
64+
done
5465
- name: Run diffpy.cmi scripts from docs/examples
5566
shell: bash
5667
run: |

0 commit comments

Comments
 (0)