Skip to content

added bamrcpath option for pbamrc #54

added bamrcpath option for pbamrc

added bamrcpath option for pbamrc #54

name: Python Package using Conda
on: [push]
jobs:
build-linux-py38:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: [ "3.8" ]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- name: Add conda to system path
shell: bash -el {0}
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
# export $CONDA/bin >> $GITHUB_PATH
which python
python --version
which python
$CONDA/bin/python --version
conda env update --file environment.yml --name base
conda install flake8
# stop the build if there are Python syntax errors or undefined names
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
conda install pytest
python setup.py install
pytest