Skip to content

Fc fit v4

Fc fit v4 #66

Workflow file for this run

name: GH Actions CI
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: "${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}"
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
env:
CONDA_DEPS: "'MDAnalysis' MDAnalysisTests numpy 'scipy<1.8' pytest pytest-cov codecov"
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest]
python-version: ["3.8", "3.9", "3.10"]
env:
CYTHON_TRACE_NOGIL: 1
MPLBACKEND: agg
GH_OS: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: setup_miniconda
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
auto-update-conda: true
channels: conda-forge
add-pip-as-python-dependency: true
mamba-version: "*"
architecture: x64
- name: install_deps
run: |
mamba install ${{ env.CONDA_DEPS }}
- name: check_setup
run: |
echo ${GH_OS}
which python
which conda
which pip
conda info
- name: install_mdrg
run: |
python setup.py develop --no-deps
- name: run_tests
run: |
pytest -v --cov=MDRestraintsGenerator --cov-report=xml MDRestraintsGenerator/tests/
- name: codecov
uses: codecov/codecov-action@v1
with:
file: coverage.xml
fail_ci_if_error: True
verbose: True