Skip to content

add precommit, update flye container, small fixes #6

add precommit, update flye container, small fixes

add precommit, update flye container, small fixes #6

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- dev
workflow_dispatch:
pull_request:
branches-ignore: []
schedule:
- cron: '0 0 1 * *'
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python: [3.8, 3.9, '3.10']
fail-fast: false
steps:
- name: install graphviz
run: |
sudo apt-get install -y graphviz
- name: checkout git repo
uses: actions/checkout@v2
- name: conda/mamba
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: environment.yml
extra-specs: |
python=${{ matrix.python }}
- name: install package itself
shell: bash -l {0}
run: |
pip install .
- name: Install dependencies
shell: bash -l {0}
run: |
pip install coveralls pytest-cov pytest pytest-xdist pytest-mock pytest-asyncio
- name: testing
shell: bash -l {0}
run: |
pytest --cov-report term --cov=sequana_pipelines.lora
env:
SEQUANA_WRAPPERS: https://github.com/sequana/sequana-wrappers
- name: coveralls
shell: bash -l {0}
run: |
echo $COVERALLS_REPO_TOKEN
coveralls --service=github
env:
GITHUB_TOKEN: ${{ github.token }}