Skip to content

Polkadot v1.15.0 #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 7 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,66 +32,50 @@ jobs:
run: cargo check -p sc-simnode

tests:
runs-on: ubuntu-latest
runs-on: arc-runner-set
steps:
- name: Checkout sources
uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
with:
toolchain: stable

- uses: Swatinem/rust-cache@v1
- run: |
rustup target add wasm32-unknown-unknown
rustup component add rust-src

- uses: Swatinem/rust-cache@v1

- name: Install protoc
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler build-essential

- name: Build all binaries
continue-on-error: true
run: |
cargo build --release --bins

- name: Aura Integration tests
continue-on-error: true
run: |
./target/release/aura-node simnode --dev --state-pruning=archive --blocks-pruning=archive &
sleep 20;
RUST_BACKTRACE=1 cargo test --release -p simnode-integration-tests --tests aura -- --nocapture
kill -9 $!

- name: Babe Integration tests
continue-on-error: true
run: |
./target/release/babe-node simnode --dev --state-pruning=archive --blocks-pruning=archive &
sleep 20;
RUST_BACKTRACE=1 cargo test --release -p simnode-integration-tests --tests babe -- --nocapture
kill -9 $!

- name: Parachain Integration tests
continue-on-error: true
run: |
./target/release/parachain-node simnode --dev --state-pruning=archive --blocks-pruning=archive &
sleep 20;
RUST_BACKTRACE=1 cargo test --release -p simnode-integration-tests --tests parachain -- --nocapture
kill -9 $!

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-04-04
components: rustfmt

- name: Check format
run: cargo fmt --all --check
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/target
Cargo.lock
.idea
.cargo
.cargo
Loading
Loading