2020-11-08 09:46:44 +00:00
|
|
|
name: Test Curie Functions
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-20.04
|
2020-11-08 10:06:48 +00:00
|
|
|
if: "! contains(github.event.head_commit.message, 'disabled')"
|
2020-11-08 09:46:44 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version: [3.8]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
2020-11-08 10:09:18 +00:00
|
|
|
sudo apt update && sudo apt install python3-openbabel openbabel python-six git libopenbabel-dev
|
2020-11-08 10:06:48 +00:00
|
|
|
python -m pip install --upgrade pip six wheel
|
|
|
|
python -m pip install oddt git+https://github.com/navanchauhan/plip
|
|
|
|
- name: Verifying OpenBabel
|
|
|
|
run: |
|
|
|
|
python3 -m pip install openbabel
|
2020-11-08 09:46:44 +00:00
|
|
|
- name: Clean Test Data
|
|
|
|
run: cd tests && python test-oddt-plip.py
|