File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 39
39
key :
40
40
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}
41
41
42
- - uses : conda-incubator/setup-miniconda@v2
42
+ - name : Create a conda environment
43
+ uses : conda-incubator/setup-miniconda@v2
43
44
with :
44
45
activate-environment : torchmd-net
45
46
channels : acellera,conda-forge,defaults
@@ -50,12 +51,11 @@ jobs:
50
51
use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
51
52
auto-activate-base : false
52
53
53
- - run : which pip
54
+ - name : Install the package
55
+ run : pip install .
54
56
55
- - name : Install pip dependencies
56
- run : |
57
- pip install flake8 pytest
58
- pip install .
57
+ - name : List the conda environment
58
+ run : conda list
59
59
60
60
- name : Lint with flake8
61
61
run : |
66
66
67
67
- name : Run tests
68
68
run : |
69
- pytest
69
+ pytest
Original file line number Diff line number Diff line change @@ -3,15 +3,20 @@ channels:
3
3
- raimis
4
4
- conda-forge
5
5
dependencies :
6
+ - ase
7
+ - h5py
6
8
- matplotlib
7
9
- pip
8
10
- python
9
- - pytorch
11
+ - pytorch==1.10.0
10
12
# The official PyTorch Geometric package is not compatible with conda-forge,
11
13
# while the package on conda-forge is broken
12
14
# (https://github.com/pyg-team/pytorch_geometric/issues/3660).
13
15
# Until a better solution is found a have custom package to plug the gap.
14
16
- raimis::pytorch-geometric==2.0.2
15
17
- pytorch-lightning==1.5.8
16
- - h5py
17
- - tqdm
18
+ - setuptools==59.5.0 # Pin due to https://github.com/pytorch/pytorch/pull/69904
19
+ - tqdm
20
+ # Dev tools
21
+ - flake8
22
+ - pytest
Original file line number Diff line number Diff line change 1
- pytorch-lightning == 1.3.8
2
- matplotlib
3
- scipy
4
- h5py
5
- ase
You can’t perform that action at this time.
0 commit comments