diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e0ea082..7b4b81a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,5 +43,5 @@ jobs: run: | export POCKET_IC_BIN="$(pwd)/bin/pocket-ic" export TEST_CANISTER_WASM_PATH="$(pwd)/bin/test_canister.wasm" - cd tests/ic-websocket-cdk + cd tests/ic-websocket-cdk-rs cargo test --package ic-websocket-cdk --lib -- tests::integration_tests --test-threads 1 diff --git a/README.md b/README.md index d0610ae..0b3829e 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Clone the repo with submodules: git clone --recurse-submodules https://github.com/omnia-network/ic-websocket-cdk-mo.git ``` -Integration tests are imported from the [IC WebSocket Rust CDK](https://github.com/omnia-network/ic-websocket-cdk-rs.git) in the [tests/ic-websocket-cdk](./tests/ic-websocket-cdk-rs/) submodule. +Integration tests are imported from the [IC WebSocket Rust CDK](https://github.com/omnia-network/ic-websocket-cdk-rs.git), linked to this repo from the `ic-websocket-cdk-rs` submodule in the [tests](./tests/) folder. There's a script that runs the integration tests, taking care of installing dependencies and setting up the local environment. To run the script, execute the following command: