Skip to content

Experimental support for multichain capping #59

Experimental support for multichain capping

Experimental support for multichain capping #59

Workflow file for this run

name: pytest
on: [push]
defaults:
run:
# conda setup requires this special shell
shell: bash -l {0}
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.9
environment-file: devtools/conda-envs/test_env.yaml
channels: conda-forge,defaults
activate-environment: test
auto-update-conda: true
auto-activate-base: false
show-channel-urls: true
- name: Install license
shell: bash
env:
LICENSE_KEY: ${{ secrets.MODELLER_LICENSE_KEY }}
run: |
sed -i -e "s/XXXX/${LICENSE_KEY}/g" /usr/share/miniconda/envs/test/lib/modeller-*/modlib/modeller/config.py
- name: Install PyMEMENTO
run: |
pip install .
- name: Test with pytest
run: |
pytest -v --cov=PyMEMENTO --cov-report=xml --color=yes PyMEMENTO/tests/ --runslow
- name: CodeCov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
flags: unittests
name: codecov-PyMEMENTO