Skip to content

Commit b0c8ce4

Browse files
committed
Set secret key before running command
1 parent affecc2 commit b0c8ce4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/dev-ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
name: Format, lint & test project
1818
if: github.actor != 'github-actions[bot]'
1919
runs-on: ubuntu-latest
20-
env:
21-
PAYSTACK_SECRET_KEY: ${{ secrets.PAYSTACK_SECRET_KEY }}
2220

2321
steps:
2422
- name: Checkout
@@ -35,7 +33,7 @@ jobs:
3533
- name: Lint with ruff
3634
run: uv run ruff check . --fix
3735
- name: Test package
38-
run: uv run python -m unittest discover tests/unit
36+
run: PAYSTACK_SECRET_KEY=${{ secrets.PAYSTACK_SECRET_KEY }} uv run python -m unittest discover tests/unit
3937
- name: Commit changes
4038
run: |
4139
git config --global user.name "github-actions[bot]"

0 commit comments

Comments
 (0)