1
1
version : 2
2
2
jobs :
3
- py3test :
3
+ test :
4
4
working_directory : ~/atomate
5
5
docker :
6
6
- image : continuumio/miniconda3
7
7
- image : circleci/mongo
8
- - image : gcc
8
+ - image : circleci/buildpack-deps
9
9
steps :
10
10
- checkout
11
11
- restore_cache :
12
- key : deps1 -{{ .Branch }}-{{ checksum "requirements.txt " }}
12
+ key : deps -{{ checksum "requirements-ci.txt" }}-{{ checksum "setup.py " }}
13
13
- run :
14
+ name : Install dependencies
14
15
command : |
15
16
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
17
18
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
47
23
- run :
24
+ name : pytest
48
25
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 .
64
26
pytest --ignore=atomate/qchem/test_files --cov=atomate --cov-report html:coverage_reports atomate
65
- no_output_timeout : 3600
27
+ no_output_timeout : 1h
66
28
- store_artifacts :
67
29
path : coverage_reports/
68
30
destination : tr1
@@ -73,9 +35,4 @@ workflows:
73
35
version : 2
74
36
build_and_test :
75
37
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