2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
pull_request :
7
- types : [ opened, synchronize, reopened, ready_for_review ]
7
+ types : [opened, synchronize, reopened, ready_for_review]
8
8
9
9
concurrency :
10
10
# Cancel any in-progress jobs for the same pull request
@@ -53,20 +53,20 @@ jobs:
53
53
- uses : " ./.github/actions/init"
54
54
55
55
- name : Check Build
56
- # TODO: restore runtime-benchmarks once revive benchmarks resolved
57
56
run : |
58
- cargo check --release --locked --workspace --exclude integration-tests --features=try-runtime
57
+ cargo check --release --locked --workspace --exclude integration-tests --features=runtime-benchmarks, try-runtime
59
58
60
59
check-ismp :
61
60
needs : lint
62
61
runs-on : ubuntu-latest
63
62
steps :
64
63
- uses : actions/checkout@v4
64
+
65
65
- uses : " ./.github/actions/init"
66
+
66
67
- name : Check Build with ISMP
67
- # TODO: restore runtime-benchmarks once revive benchmarks resolved
68
68
run : |
69
- cargo check --release --locked --workspace --exclude integration-tests --features=ismp,try-runtime
69
+ cargo check --release --locked --workspace --exclude integration-tests --features=ismp,runtime-benchmarks, try-runtime
70
70
71
71
clippy :
72
72
needs : lint
85
85
uses : actions-rs/clippy-check@v1
86
86
with :
87
87
token : ${{ secrets.GITHUB_TOKEN }}
88
- # TODO: restore runtime-benchmarks once revive benchmarks resolved
89
- args : --release --locked --workspace --exclude integration-tests
88
+ args : --release --locked --workspace --exclude integration-tests --features=runtime-benchmarks
90
89
91
90
clippy-ismp :
92
91
needs : lint
@@ -105,8 +104,7 @@ jobs:
105
104
uses : actions-rs/clippy-check@v1
106
105
with :
107
106
token : ${{ secrets.GITHUB_TOKEN }}
108
- # TODO: restore runtime-benchmarks once revive benchmarks resolved
109
- args : --release --locked --workspace --exclude integration-tests --features=ismp
107
+ args : --release --locked --workspace --exclude integration-tests --features=runtime-benchmarks,ismp
110
108
111
109
test :
112
110
needs : lint
@@ -117,8 +115,7 @@ jobs:
117
115
- uses : " ./.github/actions/init"
118
116
119
117
- name : Run tests
120
- # TODO: restore runtime-benchmarks once revive benchmarks resolved
121
- run : cargo test --release --locked --workspace --exclude integration-tests --exclude pop-api-integration-tests
118
+ run : cargo test --release --locked --workspace --exclude integration-tests --exclude pop-api-integration-tests --exclude pop-api-vnext-integration-tests --features=runtime-benchmarks
122
119
123
120
integration-tests :
124
121
needs : lint
@@ -155,6 +152,19 @@ jobs:
155
152
- name : Run API integration tests
156
153
run : cargo test -p pop-api-integration-tests --release --locked --features "${{ matrix.features }}"
157
154
155
+ api-vnext-integration-tests :
156
+ needs : lint
157
+ runs-on : ubuntu-latest
158
+ env :
159
+ RUSTFLAGS : ' --cfg ink_abi="all"'
160
+ steps :
161
+ - uses : actions/checkout@v4
162
+
163
+ - uses : " ./.github/actions/init"
164
+
165
+ - name : Run API integration tests
166
+ run : cargo test -p pop-api-vnext-integration-tests --release --locked
167
+
158
168
api-tests :
159
169
runs-on : ubuntu-latest
160
170
steps :
@@ -199,8 +209,7 @@ jobs:
199
209
uses : taiki-e/install-action@cargo-llvm-cov
200
210
201
211
- name : Generate code coverage
202
- # TODO: restore runtime-benchmarks once revive benchmarks resolved
203
- run : cargo llvm-cov --features=try-runtime,ismp --workspace --exclude integration-tests --exclude pop-api-integration-tests --lib --bins --codecov --output-path codecov.json
212
+ run : cargo llvm-cov --features=runtime-benchmarks,try-runtime,ismp --workspace --exclude integration-tests --exclude pop-api-integration-tests --exclude pop-api-vnext-integration-tests --lib --bins --codecov --output-path codecov.json
204
213
205
214
- name : Upload to codecov.io
206
215
uses : codecov/codecov-action@v4
0 commit comments