Skip to content

Commit e8399e1

Browse files
committed
ci: adding test ci in testbranch
1 parent d7c6caf commit e8399e1

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.github/workflows/qa-ci.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
name: Simple Pytest Tests
3+
on:
4+
push:
5+
branches:
6+
- "test-v*"
7+
pull_request:
8+
branches:
9+
- "test-v*"
10+
11+
jobs:
12+
test:
13+
name: Run Pytest Tests on ${{ github.ref_name }}
14+
runs-on: ubuntu-22.04
15+
timeout-minutes: 60
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Python 3.10
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: "3.10"
25+
26+
- name: Install uv
27+
uses: astral-sh/setup-uv@v5
28+
29+
- name: Install dependencies
30+
run: |
31+
bash -x .github/scripts/setup.sh
32+
33+
- name: Install bitcoind
34+
run: .github/scripts/install-bitcoind.sh
35+
36+
- name: Configure
37+
run: ./configure --enable-debugbuild --enable-rust
38+
39+
- name: Build
40+
run: |
41+
uv run make -j $(nproc)
42+
43+
- name: Run Tests
44+
env:
45+
SLOW_MACHINE: 1
46+
PYTEST_PAR: 10
47+
TEST_DEBUG: 1
48+
TEST_DB_PROVIDER: sqlite3
49+
TEST_NETWORK: regtest
50+
EXPERIMENTAL_DUAL_FUND: 1
51+
EXPERIMENTAL_SPLICING: 1
52+
COMPAT: 1
53+
run: |
54+
uv run pytest tests/ -vvv -n ${PYTEST_PAR} --timeout=1200

0 commit comments

Comments
 (0)