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

build: generate and store metadata comparison reports #677

Merged
merged 2 commits into from
Oct 13, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
63 changes: 0 additions & 63 deletions .github/workflows/binary.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,25 @@ jobs:
args: --all-features -- -A clippy::type_complexity -A clippy::identity_op -A clippy::boxed_local -D dead_code
toolchain: ${{ env.nightly }}

- name: Build
if: steps.cache-cargo-build.outputs.cache-hit != 'true'
uses: actions-rs/cargo@v1
with:
command: build
args: --release --bin nodle-parachain

- name: Compare metadata
run: |
target/release/nodle-parachain --ws-external --ws-port=9944 --dev -- --dev &
docker run --net=host jacogr/polkadot-js-tools metadata ${{ env.try-runtime-uri }} ws://localhost:9944 > output.txt

- name: Save output as artifact
uses: actions/upload-artifact@v2
with:
name: metadata-comparison
path: |
output.txt

- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
Expand Down