Skip to content

V2

V2 #134

Workflow file for this run

name: Test pling
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
Testing:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ 3.8, 3.9, "3.10", 3.11 ]
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.4.5-0'
environment-name: test-env
condarc: |
channels:
- conda-forge
- bioconda
- defaults
create-args: >-
python=${{ matrix.python-version }}
snakemake
mamba
pandas
init-shell: bash
cache-environment: true
post-cleanup: 'all'
- uses: eWaterCycle/setup-singularity@v7
with:
singularity-version: 3.7.1
- name: Test
shell: bash -el {0}
run: |
micromamba activate test-env
PYTHONPATH="." python -m unittest discover -s tests -t .