Skip to content

Commit

Permalink
Merge #38: CI: Run the examples
Browse files Browse the repository at this point in the history
7c6d8e3 CI: Run the examples (Tobin C. Harding)

Pull request description:

  Currently we lint the examples but we do not run them.

ACKs for top commit:
  Kixunil:
    ACK 7c6d8e3
  apoelstra:
    ACK 7c6d8e3

Tree-SHA512: c344ca36a04c106c3bdea22af9c97280a9182c91beed19c4f2d2b6503a1c1ae6bb4eb5be83be9340c311bf01681295722d57e447dabe0509704f59aebaa643d6
  • Loading branch information
apoelstra committed Oct 26, 2023
2 parents d61f5f9 + 7c6d8e3 commit 62a9be0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ if [ "$DO_FEATURE_MATRIX" = true ]; then
done
fi

cargo run --locked --example hexy
cargo run --locked --example custom
cargo run --locked --example wrap_array_display_hex_trait
cargo run --locked --example wrap_array_fmt_traits

# Build the docs if told to (this only works with the nightly toolchain)
if [ "$DO_DOCSRS" = true ]; then
RUSTDOCFLAGS="--cfg docsrs -D warnings -D rustdoc::broken-intra-doc-links" cargo +nightly doc --all-features
Expand Down

0 comments on commit 62a9be0

Please sign in to comment.