File tree Expand file tree Collapse file tree 2 files changed +46
-2
lines changed
atomate/vasp/test_files/atomate/.circleci/images/py3 Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Testing
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Checkout repo
15
+ uses : actions/checkout@v2
16
+
17
+ - name : Setup Python
18
+ uses : actions/setup-python@v2
19
+ with :
20
+ python-version : 3.7
21
+
22
+ - name : Install C++ dependencies
23
+ run : |
24
+ sudo apt-get install openbabel
25
+
26
+ - name : Cache pip
27
+ uses : actions/cache@v2
28
+ id : pip-cache
29
+ with :
30
+ path : ~/.cache/pip
31
+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
32
+ restore-keys : |
33
+ ${{ runner.os }}-pip-
34
+
35
+ - name : Install dependencies
36
+ if : steps.pip-cache.outputs.cache-hit != 'true'
37
+ run : |
38
+ pip install -r requirements.txt
39
+ pip install -r requirements-ci.txt
40
+ pip install .[complete]
41
+
42
+ - name : pytest
43
+ run : |
44
+ pytest --ignore=atomate/qchem/test_files --cov=atomate --cov-report html:coverage_reports atomate
Original file line number Diff line number Diff line change 1
- FROM python:3.6.4
1
+ FROM python:3.7.3
2
2
3
3
RUN apt-get update && apt-get install -y gfortran python-openbabel python-vtk python3-tk
4
4
RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
5
5
RUN bash Miniconda3-latest-Linux-x86_64.sh -b
6
- RUN export PATH=$HOME/miniconda3/bin:$PATH
6
+ RUN export PATH=$HOME/miniconda3/bin:$PATH
You can’t perform that action at this time.
0 commit comments