Skip to content

Commit 884c984

Browse files
committed
try conda install pymatgen
1 parent 83e437b commit 884c984

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.circleci/config.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
version: 2
1+
version: 2.1
22
jobs:
33
test:
44
working_directory: ~/atomate
55
docker:
66
- image: continuumio/miniconda3
77
- image: circleci/mongo
8-
- image: circleci/buildpack-deps
98
steps:
109
- checkout
1110
- restore_cache:
@@ -14,15 +13,16 @@ jobs:
1413
name: Install dependencies
1514
command: |
1615
export PATH=$HOME/miniconda3/bin:$PATH
17-
conda create --yes --name test_env python=3.8
16+
conda create --name test_env python=3.8
1817
source activate test_env
19-
conda install --yes -c conda-forge openbabel
18+
conda install -c conda-forge openbabel pymatgen
2019
pip install -r requirements-ci.txt
2120
pip install .
2221
no_output_timeout: 1h
2322
- run:
2423
name: pytest
2524
command: |
25+
source activate test_env
2626
pytest --ignore=atomate/qchem/test_files --cov=atomate --cov-report html:coverage_reports atomate
2727
no_output_timeout: 1h
2828
- store_artifacts:
@@ -32,7 +32,6 @@ jobs:
3232
path: coverage_reports/
3333

3434
workflows:
35-
version: 2
3635
build_and_test:
3736
jobs:
3837
- test

0 commit comments

Comments
 (0)