From efb9eb84a9bd8c7733e6de2d49b3589f135581d3 Mon Sep 17 00:00:00 2001 From: Oghenemarho Orukele Date: Tue, 31 Oct 2023 23:27:53 +0100 Subject: [PATCH] cleanup --- .github/workflows/PR.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index 198e5fd..de63a83 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -2,6 +2,12 @@ name: Rust test on PR fork on: pull_request_target: types: [opened, synchronize] +env: + CARGO_TERM_COLOR: always + PAYSTACK_API_KEY: ${{secrets.PAYSTACK_API_KEY}} + BANK_ACCOUNT: ${{secrets.BANK_ACCOUNT}} + BANK_CODE: ${{secrets.BANK_CODE}} + BANK_NAME: ${{secrets.BANK_NAME}} jobs: run-test-on-pr: runs-on: ubuntu-latest @@ -29,10 +35,4 @@ jobs: run: cargo build --verbose - name: Run tests run: cargo test --verbose - env: - CARGO_TERM_COLOR: always - PAYSTACK_API_KEY: ${{secrets.PAYSTACK_API_KEY}} - BANK_ACCOUNT: ${{secrets.BANK_ACCOUNT}} - BANK_CODE: ${{secrets.BANK_CODE}} - BANK_NAME: ${{secrets.BANK_NAME}}