diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 10c4ee70..999d3836 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -8,16 +8,9 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.10"] steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - name: Set up Conda uses: conda-incubator/setup-miniconda@v2 @@ -26,20 +19,14 @@ jobs: run: | apt-get update apt-get install -y gcc g++ bowtie2 samtools libsys-hostname-long-perl - apt-get update - apt-get install -y ttf-mscorefonts-installer - apt-get clean - apt-get autoremove -y - name: Install dependencies run: | - conda install -c defaults -c conda-forge -c bioconda -y -n base --debug -c bioconda trimmomatic flash numpy cython jinja2 tbb=2020.2 pyparsing=2.3.1 scipy matplotlib pandas plotly + 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 - name: Install Pytest And CRISPResso run: | - python -m pip install --upgrade pip - pip install pytest pytest-cov numpy - pip list | grep numpy + pip install pytest pytest-cov - name: Echo pypath run: |