Skip to content

Commit

Permalink
strore before
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasK committed Oct 4, 2023
1 parent b579e29 commit 395298b
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:

steps:
- name: Checkout
uses: actions/[email protected]
uses: actions/[email protected].2

- name: Download test data
run: |
Expand All @@ -107,6 +107,25 @@ jobs:
run: |
atlas init "example_data/reads/test" --db-dir "$DATABASE_DIR" --threads "$N_THREADS" --working-dir wd
- name: Install dependencies for assembly
if: steps.get-enfs.outputs.cache-hit != 'true'
run: atlas run assembly --conda-create-envs-only

# - name: compress conda envs
# run: |
# tar -czf assembly_conda_envs.tar.gz $DATABASE_DIR/conda_envs

- name: Cache conda envs
if: steps.get-enfs.outputs.cache-hit != 'true'
uses: actions/cache@v2
env:
cache-name: assembly-conda-envs
with:
path: databases/conda_envs
key: assembly-conda-envs


- name: Run QC
run: |
atlas run qc --resources mem=$MEM java_mem=$MEM --jobs=$N_THREADS --restart-times=2 --working-dir wd
Expand All @@ -128,17 +147,7 @@ jobs:
path: wd/Streptococcus/logs


# - name: compress conda envs
# run: |
# tar -czf assembly_conda_envs.tar.gz $DATABASE_DIR/conda_envs

- name: Cache conda envs
uses: actions/cache@v2
env:
cache-name: assembly-conda-envs
with:
path: databases/conda_envs
key: assembly-conda-envs



Expand Down

0 comments on commit 395298b

Please sign in to comment.