Skip to content

Update README.md

Update README.md #681

Workflow file for this run

name: CI
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
jobs:
tests:
runs-on: ${{ matrix.OS }}-latest
name: "tests"
strategy:
fail-fast: false
matrix:
os: ['ubuntu', 'macos']
python-version:
- 3.9
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
use-mamba: true
python-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
- name: "Install"
run: pip install -e .
- name: "Test imports"
run: |
# if we add more to this, consider changing to for + env vars
python -Ic "import ensembler"
- name: "Environment Information"
run: |
mamba info -a
mamba list
- name: "Run tests"
run: |
pytest -v --cov=ensembler --cov-report=xml
- name: codecovg
if: ${{ github.repository == 'rinikerlab/ensembler' && github.event != 'schedule'}}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
env_vars: OS,PYTHON
fail_ci_if_error: True
verbose: True