Skip to content

Commit

Permalink
Only run tests for sdk and bindings/core (#782)
Browse files Browse the repository at this point in the history
* Only run tests for sdk and bindings/core

* Only run tests for sdk and bindings/core also for private tangle tests

* Update alias
  • Loading branch information
Thoralf-M authored Jul 14, 2023
1 parent 53ef678 commit b1cdd65
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ci-check-python = "check --manifest-path bindings/python/Cargo.toml --all-target
ci-check-wasm = "check --manifest-path bindings/wasm/Cargo.toml --target wasm32-unknown-unknown --lib"
ci-check-nostd = "check --no-default-features -F serde -p iota-sdk --target riscv64gc-unknown-none-elf"

ci-test = "nextest run --all-features --no-fail-fast --cargo-profile ci --test-threads num-cpus --retries 2"
ci-test = "nextest run --all-features --no-fail-fast --cargo-profile ci --test-threads num-cpus --retries 2 -p iota-sdk -p iota-sdk-bindings-core"

ci-clippy = "clippy --all-targets --all-features -- -D warnings"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: nextest
args: run --all-features --no-fail-fast --cargo-profile ci --test-threads "num-cpus" --retries 2
args: run --all-features --no-fail-fast --cargo-profile ci --test-threads "num-cpus" --retries 2 -p iota-sdk -p iota-sdk-bindings-core
2 changes: 1 addition & 1 deletion .github/workflows/private-tangle-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: nextest
args: run --tests --all-features --no-fail-fast --run-ignored ignored-only --cargo-profile ci --retries 2
args: run --tests --all-features --no-fail-fast --run-ignored ignored-only --cargo-profile ci --retries 2 -p iota-sdk -p iota-sdk-bindings-core

- name: Tear down private tangle
if: always()
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/client/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

//! A general purpose IOTA client library for interaction with the IOTA network (Tangle)
//! A general purpose IOTA client for interaction with the IOTA network (Tangle)
//!
//! High-level functions are accessible via the [`Client`][client::Client].
//!
Expand Down

0 comments on commit b1cdd65

Please sign in to comment.