Skip to content

Commit

Permalink
Moving binary from the bundle before starting testing on it
Browse files Browse the repository at this point in the history
  • Loading branch information
kkalinowski-reef committed Dec 19, 2023
1 parent 47ad699 commit 6e1e5bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e1e5bb

Please sign in to comment.