Skip to content

Commit 99cd5a1

Browse files
committed
ci: add workflow env vars run on every push
1 parent be85352 commit 99cd5a1

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Tests
2-
32
on:
43
push:
5-
branches: [ "main", "feature/*" ]
6-
pull_request:
7-
branches: [ "main", "feature/*" ]
8-
94
jobs:
105
backend-tests:
116
runs-on: ubuntu-latest
@@ -24,9 +19,11 @@ jobs:
2419
pip install -r requirements.txt
2520
pip install pytest pytest-mock
2621
- name: Run tests
27-
run: |
28-
pytest tests/
29-
22+
run: pytest tests/
23+
env:
24+
RPC_URL: http://localhost:8332
25+
RPC_USER: test
26+
RPC_PASSWORD: test
3027
frontend-tests:
3128
runs-on: ubuntu-latest
3229
defaults:

0 commit comments

Comments
 (0)