Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workflow links and update wrapper prefix #7

Merged
merged 25 commits into from
Jan 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Symlink micromamba
  • Loading branch information
percyfal committed Jan 5, 2024
commit 4e0f27e3ac69fae0d46346a8b961824d2abbee4e
19 changes: 13 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Lint workflow
uses: ezherman/snakemake-github-action@5027c0e706ada924ab91e0501bd92185fc98de3c
# uses: snakemake/[email protected]
#uses: ezherman/snakemake-github-action@5027c0e706ada924ab91e0501bd92185fc98de3c
uses: snakemake/[email protected]
with:
directory: .
snakefile: workflow/Snakefile
args: "--lint"
stagein:
- micromamba install -y -c conda-forge rsync
- ln -s /usr/bin/micromamba /usr/bin/mamba
- ln -s /usr/bin/micromamba /usr/bin/conda

Testing:
runs-on: ubuntu-latest
Expand All @@ -28,13 +32,16 @@ jobs:
- name: Checkout repository and submodules
uses: actions/checkout@v4
- name: Test workflow (local test data)
uses: ezherman/snakemake-github-action@5027c0e706ada924ab91e0501bd92185fc98de3c
#uses: snakemake/[email protected]
#uses: ezherman/snakemake-github-action@5027c0e706ada924ab91e0501bd92185fc98de3c
uses: snakemake/[email protected]
with:
directory: .test
snakefile: workflow/Snakefile
args: "--use-conda --show-failed-logs -j 10 --conda-cleanup-pkgs cache --wrapper-prefix file:///github/workspace/workflow/wrappers"
stagein: mamba install -y -c conda-forge rsync
args: "--use-conda --conda-backend mamba--show-failed-logs -j 10 --conda-cleanup-pkgs cache --wrapper-prefix file:///github/workspace/workflow/wrappers"
stagein:
- micromamba install -y -c conda-forge rsync
- ln -s /usr/bin/micromamba /usr/bin/mamba
- ln -s /usr/bin/micromamba /usr/bin/conda
- name: Test report
uses: snakemake/[email protected]
with:
Expand Down