Merge pull request #10 from MolecularAI/replace-affinity-with-metric #42
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: tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run | |
run: | | |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | | |
bash -s -- --batch | |
conda env create -f conda-env.yml | |
conda run --name routes-env poetry install | |
pip install "setuptools==59.5.0" | |
conda run --name routes-env inv full-tests | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./coverage.xml | |
directory: ./coverage/ | |
name: codecov-routes | |
fail_ci_if_error: false | |
verbose: true |