From 93117978098864423d5477801cdc666bae8a21b0 Mon Sep 17 00:00:00 2001 From: asyatrhl <123384000+asyatrhl@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:11:38 +0300 Subject: [PATCH] Update test.yml (#264) --- .github/workflows/test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b19be3f01..3bc24cc4a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,11 +78,12 @@ jobs: needs: [build] timeout-minutes: 345600 steps: - - uses: actions/checkout@v2 - with: - repository: MaximIntegratedAI/ai8x-training - ref: develop - submodules: recursive + - name: Checkout code + uses: actions/checkout@v2 + - name: Checkout PR + run: | + fork_repo=$(jq -r .pull_request.head.repo.clone_url $GITHUB_EVENT_PATH) + git clone $fork_repo --recursive - name: Setup Pyenv and Install Dependencies uses: gabrielfalcao/pyenv-action@v13 with: