Skip to content

Add install test

Add install test #7

Workflow file for this run

name: cosmo
on: [push]
jobs:
create-env:
name: cosmo-python
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: create environment with mamba
uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
channels: conda-forge,bioconda,defaults
auto-activate-base: false
activate-environment: cosmo
environment-file: test/test_environment.yml
- name: run tests
run: |
python -m pytest
- name: install and test
run: |
pip install -e .
COSMO --help