From 88d75df2c00ec1f80e9c40238bbf2ad2c6c9288f Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Tue, 30 Jan 2024 13:45:03 -0800 Subject: [PATCH] Comment out delete old checkout in run-test jobs Assume we're not running multiple commits on the same machine at any given time. --- .github/workflows/chipyard-run-tests-gpu.yml | 60 ++++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/chipyard-run-tests-gpu.yml b/.github/workflows/chipyard-run-tests-gpu.yml index 15506e95..24ae8bc8 100644 --- a/.github/workflows/chipyard-run-tests-gpu.yml +++ b/.github/workflows/chipyard-run-tests-gpu.yml @@ -172,16 +172,16 @@ jobs: needs: prepare-chipyard-gpu runs-on: self-hosted steps: - - name: Delete old checkout - run: | - ls -alh . - rm -rf ${{ github.workspace }}/* || true - rm -rf ${{ github.workspace }}/.* || true - ls -alh . - - name: Checkout - uses: actions/checkout@v3 - - name: Git workaround - uses: ./.github/actions/git-workaround + # - name: Delete old checkout + # run: | + # ls -alh . + # rm -rf ${{ github.workspace }}/* || true + # rm -rf ${{ github.workspace }}/.* || true + # ls -alh . + # - name: Checkout + # uses: actions/checkout@v3 + # - name: Git workaround + # uses: ./.github/actions/git-workaround - name: Create conda env uses: ./.github/actions/create-conda-env - name: Run tests @@ -195,16 +195,16 @@ jobs: needs: prepare-chipyard-gpu runs-on: self-hosted steps: - - name: Delete old checkout - run: | - ls -alh . - rm -rf ${{ github.workspace }}/* || true - rm -rf ${{ github.workspace }}/.* || true - ls -alh . - - name: Checkout - uses: actions/checkout@v3 - - name: Git workaround - uses: ./.github/actions/git-workaround + # - name: Delete old checkout + # run: | + # ls -alh . + # rm -rf ${{ github.workspace }}/* || true + # rm -rf ${{ github.workspace }}/.* || true + # ls -alh . + # - name: Checkout + # uses: actions/checkout@v3 + # - name: Git workaround + # uses: ./.github/actions/git-workaround - name: Create conda env uses: ./.github/actions/create-conda-env - name: Run tests @@ -218,16 +218,16 @@ jobs: needs: prepare-chipyard-gpu runs-on: self-hosted steps: - - name: Delete old checkout - run: | - ls -alh . - rm -rf ${{ github.workspace }}/* || true - rm -rf ${{ github.workspace }}/.* || true - ls -alh . - - name: Checkout - uses: actions/checkout@v3 - - name: Git workaround - uses: ./.github/actions/git-workaround + # - name: Delete old checkout + # run: | + # ls -alh . + # rm -rf ${{ github.workspace }}/* || true + # rm -rf ${{ github.workspace }}/.* || true + # ls -alh . + # - name: Checkout + # uses: actions/checkout@v3 + # - name: Git workaround + # uses: ./.github/actions/git-workaround - name: Create conda env uses: ./.github/actions/create-conda-env - name: Run tests