Skip to content

Commit

Permalink
Build examples in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pmikolajczyk41 committed Jun 28, 2023
1 parent 2e9c175 commit 7a84de3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,19 @@ jobs:
with:
command: test

- name: Install cargo-contract
shell: bash
run: cargo install cargo-contract --version 3.0.1

- name: Run tests for examples
shell: bash
run: |
pushd examples/flipper
cargo contract build --release
cargo test --release
popd
pushd examples/counter
cargo contract build --release
cargo test --release
popd

0 comments on commit 7a84de3

Please sign in to comment.