Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Update README.md after Cunliang's review #403

Update README.md after Cunliang's review

Update README.md after Cunliang's review #403

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build_test:
name: ${{ matrix.os }}, ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-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 - Ubuntu
if: runner.os == 'Linux'
run: |
sudo apt-get install libopenmpi-dev openmpi-bin
- name: Install openmpi - OSX
if: runner.os == 'macOS'
run: |
brew install openmpi
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Test with pytest
run: |
cd test/
pytest --cov=deeprank --cov-report xml:coverage.xml
mv coverage.xml .coverage ..
cd ../
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls --service=github