This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
fix for nmr models #396
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
build_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8] | |
# runs-on: ${{ matrix.os }} | |
# strategy: | |
# matrix: | |
# os: [ubuntu-latest, macos-latest, windows-latest] | |
# python-version: [3.7, 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 openmpi | |
run: | | |
sudo apt-get install libopenmpi-dev openmpi-bin | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install torch | |
pip install -e .[test] | |
- name: Test with pytest | |
run: | | |
pytest --cov=deeprank --cov-report xml:coverage.xml | |
- name: Coveralls | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
coveralls --service=github |