File tree 1 file changed +15
-7
lines changed
1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
test :
13
- runs-on : ubuntu-20 .04
13
+ runs-on : ubuntu-24 .04
14
14
container : bigspider/bitcoin_matt
15
15
steps :
16
16
- name : Prepare Configuration File
@@ -20,24 +20,32 @@ jobs:
20
20
- name : Run MATT-enabled bitcoind
21
21
run : |
22
22
bitcoind -regtest --daemon
23
+ - name : Set up dependencies
24
+ run : |
25
+ apt-get update
26
+ apt-get install -y libssl-dev libffi-dev
27
+ apt-get install -y python3-venv
23
28
- name : Set up Python
24
29
uses : actions/setup-python@v2
25
30
with :
26
31
python-version : ' 3.10'
27
32
- name : Clone
28
33
uses : actions/checkout@v4
29
- - name : Install pip and pytest
34
+ - name : Install dependencies
30
35
run : |
31
- apt-get update
32
- apt-get install -y python3-pip
36
+ python -m venv venv
37
+ source venv/bin/activate
38
+ pip install --upgrade pip
33
39
pip install -r requirements-dev.txt
34
- - name : Install pymatt
35
- run : |
36
40
pip install .
41
+ shell : bash
37
42
- name : Create test wallet
38
43
run : bash ./examples/init.sh
39
44
- name : Run tests and capture output
40
- run : pytest -vv
45
+ run : |
46
+ source venv/bin/activate
47
+ pytest -vv
48
+ shell : bash
41
49
- name : Upload test output as artifact
42
50
uses : actions/upload-artifact@v4
43
51
with :
You can’t perform that action at this time.
0 commit comments