Skip to content

Commit a0fc264

Browse files
committed
[CI] cover try-runtime,runtime-benchmarks features in tests, remove dedicated workflow
1 parent b674bc4 commit a0fc264

File tree

11 files changed

+16
-554
lines changed

11 files changed

+16
-554
lines changed

.github/workflows/benchmarks.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/nightly.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ jobs:
2525
tests:
2626
uses: ./.github/workflows/tests.yml
2727

28-
benchmarks:
29-
uses: ./.github/workflows/benchmarks.yml
30-
3128
release-binary:
3229
needs: tests
3330
name: Binary - ${{ matrix.platform.os-name }}

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ jobs:
3434

3535
- name: Install deps
3636
run: |
37+
sudo add-apt-repository ppa:ethereum/ethereum -y
3738
sudo apt update
38-
sudo apt -y install pkg-config protobuf-compiler
39+
sudo apt -y install pkg-config protobuf-compiler solc
40+
sudo cp ./scripts/resolc /usr/local/bin/resolc
3941
4042
- name: Run all tests
41-
run: cargo test --workspace --locked
43+
run: cargo test --release --features try-runtime,runtime-benchmarks --workspace --locked

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ runtime-benchmarks = [
5252
"polkadot-omni-node-lib/runtime-benchmarks",
5353
"robonomics-runtime/runtime-benchmarks",
5454
]
55-
try-runtime = ["polkadot-omni-node-lib/try-runtime"]
55+
try-runtime = [
56+
"polkadot-omni-node-lib/try-runtime",
57+
"robonomics-runtime/try-runtime",
58+
]
5659

5760
[workspace]
5861
members = [

scripts/build-only-wasm.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.

scripts/init.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

scripts/polkadot-launch/README.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)