Skip to content

Merge pull request #46 from SchlossLab/iss-44 #176

Merge pull request #46 from SchlossLab/iss-44

Merge pull request #46 from SchlossLab/iss-44 #176

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
name: tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-parallel
- name: Lint workflow
uses: snakemake/[email protected]
with:
directory: .
snakefile: workflow/Snakefile
args: "--lint"
- name: Run test workflow
uses: snakemake/[email protected]
with:
directory: .
snakefile: workflow/Snakefile
args: "archive --forceall --cores 2 --use-conda --conda-frontend mamba --conda-cleanup-pkgs cache --show-failed-logs --all-temp --configfile config/test.yaml"
# - name: Test with pytest
# run: |
# pytest --workers 2 .tests/