Skip to content

Commit 31d359d

Browse files
authored
Merge pull request #731 from JaGeo/main
Fix for test file issue in Lobster workflows
2 parents 8b599b2 + f65a23d commit 31d359d

File tree

106 files changed

+91
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+91
-1
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
version: 2
2+
jobs:
3+
py3test:
4+
working_directory: ~/atomate
5+
docker:
6+
- image: materialsvirtuallab/circle-ci-pmg-py3:3.7.3
7+
- image: circleci/mongo:3.4.15
8+
steps:
9+
- checkout
10+
- restore_cache:
11+
key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}
12+
- run:
13+
command: |
14+
export PATH=$HOME/miniconda3/bin:$PATH
15+
conda create --quiet --yes --name test_env python=3.7
16+
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:3.4.15
41+
steps:
42+
- checkout
43+
- restore_cache:
44+
key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}
45+
- run:
46+
command: |
47+
export PATH=$HOME/miniconda3/bin:$PATH
48+
conda create --quiet --yes --name test_env python=3.7
49+
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+
pip install git+https://github.com/materialsproject/pymatgen.git --upgrade
60+
pip install git+https://github.com/materialsproject/custodian.git --upgrade
61+
pip install git+https://github.com/materialsproject/fireworks.git --upgrade
62+
# Add executables and path.
63+
for EXEPATH in `pwd`/cmd_line/*/Linux_64bit; do export PATH=$PATH:$EXEPATH; done
64+
pip install --quiet -e .
65+
pytest --ignore=atomate/qchem/test_files --cov=atomate --cov-report html:coverage_reports atomate
66+
no_output_timeout: 3600
67+
- store_artifacts:
68+
path: coverage_reports/
69+
destination: tr1
70+
- store_test_results:
71+
path: coverage_reports/
72+
73+
workflows:
74+
version: 2
75+
build_and_test:
76+
jobs:
77+
- py3test
78+
- py3devtest:
79+
filters: # don't run dev tests on main branch
80+
branches:
81+
ignore:
82+
main
83+
84+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM python:3.6.4
2+
3+
RUN apt-get update && apt-get install -y gfortran python-openbabel python-vtk python3-tk
4+
RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
5+
RUN bash Miniconda3-latest-Linux-x86_64.sh -b
6+
RUN export PATH=$HOME/miniconda3/bin:$PATH
24 Bytes
Binary file not shown.
24 Bytes
Binary file not shown.
27 Bytes
Binary file not shown.
27 Bytes
Binary file not shown.
162 Bytes
Binary file not shown.
162 Bytes
Binary file not shown.
15.8 KB
Binary file not shown.
15.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)