1
- version : 2
1
+ version : 2.1
2
2
jobs :
3
- py3test :
3
+ test :
4
4
working_directory : ~/atomate
5
5
docker :
6
- - image : materialsvirtuallab/circle-ci-pmg-py3:3.7.3
7
- - image : circleci/mongo:latest
6
+ - image : continuumio/miniconda3
7
+ - image : circleci/mongo
8
8
steps :
9
9
- checkout
10
10
- restore_cache :
11
- key : deps1 -{{ .Branch }}-{{ checksum "requirements.txt " }}
11
+ key : deps -{{ checksum "requirements-ci.txt" }}-{{ checksum "setup.py " }}
12
12
- run :
13
+ name : Install dependencies
13
14
command : |
14
15
export PATH=$HOME/miniconda3/bin:$PATH
15
- conda create --quiet --yes -- name test_env python=3.7
16
+ conda create --name test_env python=3.8
16
17
source activate test_env
17
- conda install --quiet --yes numpy scipy matplotlib sympy pandas
18
- conda install --quiet --yes -c conda-forge openbabel
19
- # conda install --quiet --yes -c clinicalgraphics vtk
20
- conda install --quiet --yes -c conda-forge python-igraph
21
- conda update --quiet --all
22
- wget https://vampire.york.ac.uk/resources/release-5/vampire-5.0-linux.tar.gz
23
- tar -zxvf vampire-5.0-linux.tar.gz
24
- export PATH=/root/atomate/linux/:$PATH
25
- pip install --quiet -r requirements.txt -r requirements-ci.txt
26
- # Add executables and path.
27
- for EXEPATH in `pwd`/cmd_line/*/Linux_64bit; do export PATH=$PATH:$EXEPATH; done
28
- pip install --quiet -e .
29
- pytest --ignore=atomate/qchem/test_files --cov=atomate --cov-report html:coverage_reports atomate
30
- no_output_timeout : 3600
31
- - store_artifacts :
32
- path : coverage_reports/
33
- destination : tr1
34
- - store_test_results :
35
- path : coverage_reports/
36
- py3devtest :
37
- working_directory : ~/atomate
38
- docker :
39
- - image : materialsvirtuallab/circle-ci-pmg-py3:3.7.3
40
- - image : circleci/mongo:latest
41
- steps :
42
- - checkout
43
- - restore_cache :
44
- key : deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}
18
+ conda install -c conda-forge openbabel pymatgen
19
+ pip install -r requirements-ci.txt
20
+ pip install .
21
+ no_output_timeout : 1h
45
22
- run :
23
+ name : pytest
46
24
command : |
47
- export PATH=$HOME/miniconda3/bin:$PATH
48
- conda create --quiet --yes --name test_env python=3.7
49
25
source activate test_env
50
- conda install --quiet --yes numpy scipy matplotlib sympy pandas
51
- conda install --quiet --yes -c conda-forge openbabel
52
- # conda install --quiet --yes -c clinicalgraphics vtk
53
- conda install --quiet --yes -c conda-forge python-igraph
54
- conda update --quiet --all
55
- wget https://vampire.york.ac.uk/resources/release-5/vampire-5.0-linux.tar.gz
56
- tar -zxvf vampire-5.0-linux.tar.gz
57
- export PATH=/root/atomate/linux/:$PATH
58
- pip install --quiet -r requirements.txt -r requirements-ci.txt
59
- # Add executables and path.
60
- for EXEPATH in `pwd`/cmd_line/*/Linux_64bit; do export PATH=$PATH:$EXEPATH; done
61
- pip install --quiet -e .
62
26
pytest --ignore=atomate/qchem/test_files --cov=atomate --cov-report html:coverage_reports atomate
63
- no_output_timeout : 3600
27
+ no_output_timeout : 1h
64
28
- store_artifacts :
65
29
path : coverage_reports/
66
30
destination : tr1
@@ -71,9 +35,4 @@ workflows:
71
35
version : 2
72
36
build_and_test :
73
37
jobs :
74
- - py3test
75
- - py3devtest :
76
- filters : # don't run dev tests on main branch
77
- branches :
78
- ignore :
79
- main
38
+ - test
0 commit comments