18
18
jobs :
19
19
build-release :
20
20
name : Build Release Candidate
21
- runs-on : ubuntu-20 .04
21
+ runs-on : ubuntu-22 .04
22
22
env :
23
23
BUILD_RELEASE : 1
24
24
steps :
30
30
- name : Setup Local Dependencies
31
31
run : ./scripts/setup-dependencies.sh
32
32
- name : Build
33
- run : scripts/build.sh
33
+ run : ./ scripts/build.sh
34
34
lint :
35
35
name : Lint
36
36
runs-on : ubuntu-20.04
@@ -43,12 +43,32 @@ jobs:
43
43
- name : Setup Local Dependencies
44
44
run : ./scripts/setup-dependencies.sh
45
45
- name : Build
46
- run : scripts/build.sh
46
+ run : ./ scripts/build.sh
47
47
- name : Lint
48
- run : scripts/lint.sh
48
+ run : ./scripts/lint.sh
49
+ pylint :
50
+ name : Pylint
51
+ runs-on : ubuntu-22.04
52
+ continue-on-error : true
53
+ timeout-minutes : 10
54
+ strategy :
55
+ matrix :
56
+ python-version : ["3.10"]
57
+ steps :
58
+ - uses : actions/checkout@v2
59
+ with :
60
+ submodules : recursive
61
+ - name : Set up Python ${{ matrix.python-version }}
62
+ uses : actions/setup-python@v2
63
+ with :
64
+ python-version : ${{ matrix.python-version }}
65
+ - name : Setup Build Env
66
+ run : sudo ./scripts/install-build-tools.sh
67
+ - name : Lint with Pylint
68
+ run : ./scripts/pylint.sh
49
69
unit-and-integration-test :
50
70
name : Unit and Integration Tests
51
- runs-on : ubuntu-20 .04
71
+ runs-on : ubuntu-22 .04
52
72
timeout-minutes : 30
53
73
steps :
54
74
- uses : actions/checkout@v2
59
79
- name : Setup Local Dependencies
60
80
run : ./scripts/setup-dependencies.sh
61
81
- name : Build
62
- run : scripts/build.sh
82
+ run : ./ scripts/build.sh
63
83
- name : Run Unit Tests
64
- run : scripts/test.sh
84
+ run : ./ scripts/test.sh
65
85
- name : Shorten SHA
66
86
id : vars
67
87
run : echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
76
96
retention-days : 7
77
97
doxygen :
78
98
name : doxygen
79
- runs-on : ubuntu-20 .04
99
+ runs-on : ubuntu-22 .04
80
100
steps :
81
101
- uses : actions/checkout@v2
82
102
with :
94
114
name : OpenCBDC Transaction Processor docs for ${{ steps.vars.outputs.sha_short }}
95
115
path : ./doxygen_generated/html/*
96
116
retention-days : 7
117
+
0 commit comments