From 5235ae83bf83a93754bb4192a755c292ae0e3cbc Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Tue, 30 Jan 2024 14:04:49 -0800 Subject: [PATCH] Re-enable checkout reset on jobs That was a bad idea (especially when you have multiple runners on the same machine) --- .github/workflows/chipyard-run-tests-gpu.yml | 40 ++++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/chipyard-run-tests-gpu.yml b/.github/workflows/chipyard-run-tests-gpu.yml index 24ae8bc8..88d90ca9 100644 --- a/.github/workflows/chipyard-run-tests-gpu.yml +++ b/.github/workflows/chipyard-run-tests-gpu.yml @@ -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