Skip to content

Update test_env.yml #23

Update test_env.yml

Update test_env.yml #23

Workflow file for this run

name: Run Pytest on Push
on:
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc g++ bowtie2 samtools libsys-hostname-long-perl
- name: Install dependencies
run: |
conda create -n test_env -c defaults -c conda-forge -c bioconda -y --debug -c bioconda pip trimmomatic flash numpy cython jinja2 tbb=2020.2 pyparsing=2.3.1 scipy matplotlib pandas plotly
conda init
- name: Install Pytest And CRISPResso
run: |
conda activate test_env
pip install pytest pytest-cov
- name: Echo pypath
run: |
conda activate test_env
echo $PYTHONPATH
- name: Install CRISPResso
run: |
conda activate test_env
pip install .
- name: Run Pytest
run: |
pytest tests