This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
Bump freesasa from 2.1.0 to 2.2.1 #402
Workflow file for this run
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: | |
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 |