Skip to content

Commit d70a1f3

Browse files
committed
manually link openbabel header files
1 parent fd9cc3a commit d70a1f3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test.yml

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

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

1514
steps:
@@ -23,18 +22,22 @@ jobs:
2322

2423
- name: Install OpenBabel
2524
run: |
26-
sudo apt-get install openbabel python3-openbabel
25+
sudo apt-get install libopenbabel-dev
26+
# https://github.com/openbabel/openbabel/issues/2408#issuecomment-1014466193
27+
sudo ln -s /usr/include/openbabel3 /usr/local/include/openbabel3
2728
2829
- name: Cache pip
2930
uses: actions/cache@v2
3031
with:
3132
path: ~/.cache/pip
32-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-ci.txt') }}
33+
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-ci.txt', 'setup.py') }}
3334
restore-keys: |
3435
${{ runner.os }}-pip-
3536
3637
- name: Install dependencies
3738
run: |
39+
which pip
40+
pip --version
3841
pip install -r requirements-ci.txt
3942
pip install .[complete]
4043

0 commit comments

Comments
 (0)