Skip to content

Merge pull request #11 from akcorut/release-please--branches--main #153

Merge pull request #11 from akcorut/release-please--branches--main

Merge pull request #11 from akcorut/release-please--branches--main #153

Workflow file for this run

name: Tests
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events
push:
branches: [main, master]
pull_request:
branches: [main, master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
Linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint workflow
uses: snakemake/snakemake-github-action@v1.24.0
with:
directory: .test
snakefile: workflow/Snakefile
args: "--configfile .test/config_ecoli/config.yaml --lint"
Testing:
runs-on: ubuntu-latest
needs:
- Linting
steps:
- uses: actions/checkout@v2
- name: Test workflow
uses: snakemake/snakemake-github-action@v1
with:
directory: .test
snakefile: workflow/Snakefile
args: "--configfile .test/config_ecoli/config.yaml --use-conda --show-failed-logs -j 10 --conda-cleanup-pkgs cache --conda-frontend conda"
stagein: "conda config --set channel_priority flexible"