diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bbf72c6..60975be 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,7 +14,11 @@ jobs: timeout-minutes: 20 steps: - name: Checkout tested commit - uses: https://github.com/actions/checkout@v4 + run: | + git init . + git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" + git fetch --depth=1 origin "${GITHUB_SHA}" + git checkout --detach FETCH_HEAD - name: Runner Python run: python --version - name: Install portable test dependencies