Skip to content

Commit d3694d2

Browse files
committed
LNBits env vars/secrets for tests
1 parent 7efe4bc commit d3694d2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ jobs:
2020
- name: Install dependencies
2121
run: npm ci
2222
- name: Run Tests
23+
env:
24+
TEST_LNBITS_CONFIG: '{"baseUrl":"${{ env.LNBITS_BASE_URL }}","adminKey":"${{ secrets.LNBITS_ADMIN_KEY }}"}'
25+
TEST_LNBITS_ADDINVOICE: '{"amount":50000}'
26+
TEST_LNBITS_GETBALANCE: '{}'
2327
run: npm test

0 commit comments

Comments
 (0)