Skip to content

add working core functionality #72

add working core functionality

add working core functionality #72

Workflow file for this run

name: Tests
on:
push:
pull_request:
branches_ignore: []
jobs:
Linting-and-testing:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: cache-conda
uses: actions/cache@v2
env:
CACHE_NUMBER: 0
with:
path: .snakemake/conda
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('.environments.yaml.txt') }}
- name: Lint workflow
uses: snakemake/[email protected]
with:
directory: .
snakefile: workflow/Snakefile
args: "--lint"
- name: Checkout submodules
uses: textbook/[email protected]
- name: Remove failing qualimap from tests
run: "sed -i -e \"s/, 'qualimap'//g\" .test/config/config.yaml"
- name: Install workflow environments
uses: snakemake/[email protected]
with:
directory: .test
snakefile: workflow/Snakefile
args: "--use-conda --show-failed-logs -j 2 --conda-cleanup-pkgs cache --wrapper-prefix file:///github/workspace/workflow/wrappers --conda-create-envs-only"
- name: Test workflow (local test data)
uses: snakemake/[email protected]
with:
directory: .test
snakefile: workflow/Snakefile
args: "--use-conda --show-failed-logs -j 2 --conda-cleanup-pkgs cache --wrapper-prefix file:///github/workspace/workflow/wrappers"
stagein: 'mamba install -y -c conda-forge -c bioconda -c defaults subversion svn snakemake-wrapper-utils;
./workflow/scripts/manticore_install_popoolation.py --snakefile workflow/Snakefile --env-dir .test/.snakemake/conda'
- name: Test report
uses: snakemake/[email protected]
with:
directory: .test
snakefile: workflow/Snakefile
args: "--report report.zip --wrapper-prefix file:///github/workspace/workflow/wrappers"