Skip to content

Commit

Permalink
Merge pull request #31 from morukele/terminal
Browse files Browse the repository at this point in the history
added env variables to test run
  • Loading branch information
morukele authored Oct 31, 2023
2 parents 0f07f31 + 5fea8e9 commit 74e487d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,10 @@ 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}}

8 changes: 1 addition & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
name: Rust

on:
push:
branches: [ "main", "master" ]


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:
build:

build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
Expand Down

0 comments on commit 74e487d

Please sign in to comment.