Skip to content

Commit 555b7bd

Browse files
authored
Merge pull request #154 from sandialabs/github_actions
GitHub actions
2 parents a99e999 + 8c63991 commit 555b7bd

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/pytest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ jobs:
9393

9494
- name: Install pgmpy
9595
run: |
96-
conda install pytorch
97-
conda install cpuonly
96+
conda install -c pytorch pytorch
97+
conda install -c pytorch cpuonly
9898
pip install pgmpy
9999
python -m pgmpy || true
100100
@@ -203,8 +203,8 @@ jobs:
203203
- name: Install package
204204
run: |
205205
pip install -e .
206-
conda install pytorch
207-
conda install cpuonly
206+
conda install -c pytorch pytorch
207+
conda install -c pytorch cpuonly
208208
pip install pgmpy
209209
210210
- name: Test with pytest & coverage

environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ channels:
33
- conda-forge
44
- https://repo.anaconda.com/pkgs/main
55
- https://repo.anaconda.com/pkgs/r
6+
- pytorch
67
dependencies:
78
- munch
89
- numpy
910
- pandas
1011
- pip
1112
- pip:
12-
- highspy
13+
- highspy
1314
- pytoulbar2
1415
- -e git+https://github.com/sandialabs/or_topas.git#egg=or_topas
1516
- pyomo

0 commit comments

Comments
 (0)