From 6e1e5bbb2f92784ad000b577f6b5590bb0a4ee8b Mon Sep 17 00:00:00 2001 From: Krzysztof Kalinowski Date: Tue, 19 Dec 2023 10:05:36 +0400 Subject: [PATCH] Moving binary from the bundle before starting testing on it --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a29fe0494..07b1982a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,11 +166,13 @@ jobs: - name: Generate hashes id: hashes run: nox -vs make_dist_digest + - name: Copy binary from dist for testing + run: cp ${{ steps.bundle.outputs.sut_path }} ./b2 - name: Run integration tests (without secrets) - run: nox -vs integration -- -m "not require_secrets" + run: nox -vs integration -- --sut=./b2 -m "not require_secrets" - name: Run integration tests (with secrets) if: ${{ env.B2_TEST_APPLICATION_KEY != '' && env.B2_TEST_APPLICATION_KEY_ID != '' }} - run: nox -vs integration -- --sut=${{ steps.bundle.outputs.sut_path }} -m "require_secrets" --cleanup + run: nox -vs integration -- --sut=./b2 -m "require_secrets" --cleanup - name: Upload assets if: failure() uses: actions/upload-artifact@v2