-
Notifications
You must be signed in to change notification settings - Fork 15
53 lines (49 loc) · 1.31 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: continuous integration
on: push
env:
CORE_LIGHTNING_VERSION: '24.08.2'
GO_VERSION: '1.23'
PYTHON_VERSION: '3.13'
jobs:
isolation-tests:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- run: make trustedcoin
- run: go test -v
integration-tests:
name: Integration tests on Bitcoin Core ${{ matrix.bitcoin-core-version }}
runs-on: ubuntu-24.04
env:
BITCOIN_CORE_VERSION: ${{ matrix.bitcoin-core-version }}
VALGRIND: 0
strategy:
fail-fast: false
matrix:
bitcoin-core-version:
- '25.2'
- '26.2'
- '27.2'
- '28.0'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- run: make trustedcoin
- run: .github/scripts/install-bitcoind.sh
- run: .github/scripts/install-cln.sh
- run: |
python -m venv venv
echo "venv/bin" >> $GITHUB_PATH
source venv/bin/activate
pip install pip-tools
pip-compile --strip-extras
pip-sync
- run: pytest