File tree 2 files changed +33
-29
lines changed
2 files changed +33
-29
lines changed Original file line number Diff line number Diff line change
1
+ on : [push, pull_request]
2
+
3
+ name : Run tests
4
+
5
+ jobs :
6
+ deploy :
7
+ name : Deploy
8
+ runs-on : ubuntu-latest
9
+ env :
10
+ RUN_TESTS : ' false' # Set this to 'true' to run the tests, or 'false' to skip them
11
+
12
+ if : ${{ env.RUN_TESTS != 'false' }} # This condition will skip the job if RUN_TESTS is set to 'false'
13
+
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v3
17
+ with :
18
+ submodules : recursive
19
+
20
+ - name : setup python
21
+ uses : actions/setup-python@v4
22
+ with :
23
+ python-version : ' 3.9'
24
+
25
+ - name : install packages
26
+ run : |
27
+ sudo apt-get update
28
+ sudo apt-get -y install python3-pip jshon jq virtualenv pkg-config openssl libssl-dev autoconf libtool libsecp256k1-dev
29
+ pip3 install -r requirements.txt
30
+ pip3 install -r requirements-dev.txt
31
+
32
+ - name : Run tests
33
+ run : ./test.sh
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments