2020-11-08 09:46:44 +00:00
|
|
|
name: Test Curie Functions
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
if: "! contains(github.event.head_commit.message, 'wip')"
|
|
|
|
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 09:55:08 +00:00
|
|
|
sudo apt update && sudo apt install python3-openbabel openbabel git
|
2020-11-08 09:53:51 +00:00
|
|
|
python -m pip install --upgrade pip
|
2020-11-08 09:46:44 +00:00
|
|
|
python3 -m pip install git+https://github.com/navanchauhan/plip oddt
|
|
|
|
- name: Clean Test Data
|
|
|
|
run: cd tests && python test-oddt-plip.py
|