Skip to content

Commit

Permalink
trying if separate workflow fixes error
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrunic committed Dec 5, 2024
1 parent 93b1426 commit 9a6f975
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/artifact_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run snakemake workflow
on: [push]

jobs:
run_snakemake_workflow:
name: Run snakemake workflow
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'

- uses: mamba-org/setup-micromamba@v2
with:
environment-file: micromamba_env.yml
cache-environment: true
post-cleanup: 'none'

- name: Install pip dependencies
run: |
micromamba run -n protein-runway pip install -r requirements.txt
- name: Generate workflow image artifact
run: |
micromamba run -n protein-runway snakemake --dag 03_output/5vde_example.segmentation.tsv | dot -Tsvg > dag.svg
- uses: actions/upload-artifact@v4
with:
name: dependency-graph
path: dag.svg

0 comments on commit 9a6f975

Please sign in to comment.