Skip to content

Commit fd9cc3a

Browse files
committed
test with github action
1 parent bdca913 commit fd9cc3a

File tree

4 files changed

+5
-97
lines changed

4 files changed

+5
-97
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
test:
11+
# don't run on forks
12+
if: github.repository_owner == 'hackingmaterials'
1113
runs-on: ubuntu-latest
1214

1315
steps:
@@ -19,23 +21,20 @@ jobs:
1921
with:
2022
python-version: 3.7
2123

22-
- name: Install C++ dependencies
24+
- name: Install OpenBabel
2325
run: |
24-
sudo apt-get install openbabel
26+
sudo apt-get install openbabel python3-openbabel
2527
2628
- name: Cache pip
2729
uses: actions/cache@v2
28-
id: pip-cache
2930
with:
3031
path: ~/.cache/pip
31-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
32+
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-ci.txt') }}
3233
restore-keys: |
3334
${{ runner.os }}-pip-
3435
3536
- name: Install dependencies
36-
if: steps.pip-cache.outputs.cache-hit != 'true'
3737
run: |
38-
pip install -r requirements.txt
3938
pip install -r requirements-ci.txt
4039
pip install .[complete]
4140

atomate/vasp/firetasks/parse_outputs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from datetime import datetime
66

77
import numpy as np
8-
import scipy
98
from fireworks import FiretaskBase, FWAction, explicit_serialize
109
from fireworks.utilities.fw_serializers import DATETIME_HANDLER
1110
from monty.json import MontyEncoder, jsanitize

atomate/vasp/test_files/atomate/.circleci/config.yml

Lines changed: 0 additions & 84 deletions
This file was deleted.

atomate/vasp/test_files/atomate/.circleci/images/py3/Dockerfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)