Skip to content

Commit

Permalink
don't cleanup until end
Browse files Browse the repository at this point in the history
Signed-off-by: Peter St. John <pstjohn@nvidia.com>
  • Loading branch information
pstjohn committed Jan 2, 2025
1 parent 47d67f5 commit 600b43e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ jobs:
build-bionemo-image:
needs: pre-commit
runs-on: self-hosted-nemo-gpus-1 # TODO: make this a CPU-only builder runner.
defaults:
run:
working-directory: ./${{ github.run_id }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -112,11 +109,13 @@ jobs:
teardown-environment:
runs-on: ubuntu-latest
needs: run-tests
if: always()
steps:
- name: Docker Prune
run: |
docker system prune $([[ "$LABEL" != "" ]] && echo --filter "label=nemo.library=$LABEL" || echo '') --filter "until=168h" --force
- name: Create working directory
- name: Delete working directory
run: |
rm -rf ./${{ github.run_id }}
Expand Down

0 comments on commit 600b43e

Please sign in to comment.