Skip to content
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

Improve runtime tests #1001

Merged
merged 11 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
27 changes: 24 additions & 3 deletions .github/workflows/parachain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
--package snowbridge-ethereum-beacon-client

coverage:
needs: check
needs: test
runs-on: snowbridge-runner
env:
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -130,6 +130,7 @@ jobs:
flags: rust

check-cumulus-bridgehub:
needs: check
runs-on: snowbridge-runner
steps:
- uses: actions/checkout@v2
Expand All @@ -148,6 +149,25 @@ jobs:
--package bridge-hub-rococo-runtime
--features runtime-benchmarks

runtime-tests:
needs: test
runs-on: snowbridge-runner
steps:
- uses: actions/checkout@v2
with:
submodules: "true"
- uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: setup rust toolchain
run: rustup show
- name: snowbridge runtime tests
run: >
cargo test
--manifest-path parachain/Cargo.toml
-p snowbridge-runtime-tests
-- --nocapture

integration-tests:
needs: test
runs-on: snowbridge-runner
Expand All @@ -160,11 +180,12 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: setup rust toolchain
run: rustup show
- name: snowbridge integration
- name: snowbridge integration tests
run: >
cargo test
--manifest-path polkadot-sdk/Cargo.toml
-p bridge-hub-rococo-integration-tests
-p bridge-hub-rococo-integration-tests snowbridge
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What package is named snowbridge? I don't recall any package like that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it's not a package name, the mod name to filter snowbrige tests only.

-- --nocapture

beacon-fuzz:
if: false
Expand Down
Loading
Loading