Skip to content

Commit 83e437b

Browse files
committed
.circleci/config.yml remove py3devtest, clean up dependency install
1 parent 76c2905 commit 83e437b

File tree

1 file changed

+12
-55
lines changed

1 file changed

+12
-55
lines changed

.circleci/config.yml

Lines changed: 12 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,30 @@
11
version: 2
22
jobs:
3-
py3test:
3+
test:
44
working_directory: ~/atomate
55
docker:
66
- image: continuumio/miniconda3
77
- image: circleci/mongo
8-
- image: gcc
8+
- image: circleci/buildpack-deps
99
steps:
1010
- checkout
1111
- restore_cache:
12-
key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}
12+
key: deps-{{ checksum "requirements-ci.txt" }}-{{ checksum "setup.py" }}
1313
- run:
14+
name: Install dependencies
1415
command: |
1516
export PATH=$HOME/miniconda3/bin:$PATH
16-
conda create --quiet --yes --name test_env python=3.8
17+
conda create --yes --name test_env python=3.8
1718
source activate test_env
18-
conda install --quiet --yes numpy scipy matplotlib sympy pandas
19-
conda install --quiet --yes -c conda-forge openbabel
20-
# conda install --quiet --yes -c clinicalgraphics vtk
21-
conda install --quiet --yes -c conda-forge python-igraph
22-
conda update --quiet --all
23-
wget https://vampire.york.ac.uk/resources/release-5/vampire-5.0-linux.tar.gz
24-
tar -zxvf vampire-5.0-linux.tar.gz
25-
export PATH=/root/atomate/linux/:$PATH
26-
pip install --quiet -r requirements.txt -r requirements-ci.txt
27-
# Add executables and path.
28-
for EXEPATH in `pwd`/cmd_line/*/Linux_64bit; do export PATH=$PATH:$EXEPATH; done
29-
pip install --quiet -e .
30-
pytest --ignore=atomate/qchem/test_files --cov=atomate --cov-report html:coverage_reports atomate
31-
no_output_timeout: 3600
32-
- store_artifacts:
33-
path: coverage_reports/
34-
destination: tr1
35-
- store_test_results:
36-
path: coverage_reports/
37-
py3devtest:
38-
working_directory: ~/atomate
39-
docker:
40-
- image: continuumio/miniconda3
41-
- image: circleci/mongo
42-
- image: gcc
43-
steps:
44-
- checkout
45-
- restore_cache:
46-
key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}
19+
conda install --yes -c conda-forge openbabel
20+
pip install -r requirements-ci.txt
21+
pip install .
22+
no_output_timeout: 1h
4723
- run:
24+
name: pytest
4825
command: |
49-
export PATH=$HOME/miniconda3/bin:$PATH
50-
conda create --quiet --yes --name test_env python=3.8
51-
source activate test_env
52-
conda install --quiet --yes numpy scipy matplotlib sympy pandas
53-
conda install --quiet --yes -c conda-forge openbabel
54-
# conda install --quiet --yes -c clinicalgraphics vtk
55-
conda install --quiet --yes -c conda-forge python-igraph
56-
conda update --quiet --all
57-
wget https://vampire.york.ac.uk/resources/release-5/vampire-5.0-linux.tar.gz
58-
tar -zxvf vampire-5.0-linux.tar.gz
59-
export PATH=/root/atomate/linux/:$PATH
60-
pip install --quiet -r requirements.txt -r requirements-ci.txt
61-
# Add executables and path.
62-
for EXEPATH in `pwd`/cmd_line/*/Linux_64bit; do export PATH=$PATH:$EXEPATH; done
63-
pip install --quiet -e .
6426
pytest --ignore=atomate/qchem/test_files --cov=atomate --cov-report html:coverage_reports atomate
65-
no_output_timeout: 3600
27+
no_output_timeout: 1h
6628
- store_artifacts:
6729
path: coverage_reports/
6830
destination: tr1
@@ -73,9 +35,4 @@ workflows:
7335
version: 2
7436
build_and_test:
7537
jobs:
76-
- py3test
77-
- py3devtest:
78-
filters: # don't run dev tests on main branch
79-
branches:
80-
ignore:
81-
main
38+
- test

0 commit comments

Comments
 (0)