Unverified Commit 0c425508 authored by Gao, Xiang's avatar Gao, Xiang Committed by GitHub
Browse files

Move tools check to GitHub Actions (#314)

* Move tools check to GitHub Actions

* Delete tools.yml
parent ae8c5db4
name: tools
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Fetch submodules
run: git submodule update --init
- name: Install dependencies
run: |
ci/install_dependencies.sh
pip install .
- name: Download data files
run: ./download.sh
- name: Inference benchmark
run: python tools/inference-benchmark.py --tqdm dataset/xyz_files/CH4-5.xyz
- name: Install more dependencies
run: pip install h5py
- name: COMP6 Benchmark
run: python tools/comp6.py dataset/COMP6/COMP6v1/s66x8
- name: Install more dependencies
run: pip install pytorch-ignite
- name: Training Benchmark
run: python tools/training-benchmark.py dataset/ani1-up_to_gdb4/ani_gdb_s01.h5
- name: NeuroChem Test
run: python tools/neurochem-test.py dataset/ani1-up_to_gdb4/ani_gdb_s01.h5
queue:
name: Hosted Ubuntu 1604
timeoutInMinutes: 30
trigger:
batch: true
branches:
include:
- master
variables:
python.version: '3.7'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
inputs:
versionSpec: '$(python.version)'
- script: 'git submodule update --init'
displayName: 'Fetch submodules'
- script: 'azure/install_dependencies.sh && pip install .'
displayName: 'Install dependencies'
- script: './download.sh'
displayName: 'Download data files'
- script: 'python tools/inference-benchmark.py --tqdm dataset/xyz_files/CH4-5.xyz'
displayName: Inference Benchmark
- script: 'pip install h5py'
displayName: 'Install more dependencies'
- script: 'python tools/comp6.py dataset/COMP6/COMP6v1/s66x8'
displayName: COMP6 Benchmark
- script: 'pip install pytorch-ignite'
displayName: 'Install more dependencies'
- script: 'python tools/training-benchmark.py dataset/ani1-up_to_gdb4/ani_gdb_s01.h5'
displayName: Training Benchmark
- script: 'python tools/neurochem-test.py dataset/ani1-up_to_gdb4/ani_gdb_s01.h5'
displayName: NeuroChem Test
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment