-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into ica-client/tests-move
- Loading branch information
Showing
421 changed files
with
32,291 additions
and
10,649 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,15 @@ orbs: | |
codecov: codecov/[email protected] | ||
discord: antonioned/[email protected] | ||
|
||
commands: | ||
rust_install_nightly: | ||
steps: | ||
- run: | ||
name: "Install nightly toolchain" | ||
command: | | ||
rustup toolchain install nightly-x86_64-unknown-linux-gnu | ||
rustup component add llvm-tools-preview | ||
parameters: | ||
GHA_Event: | ||
type: string | ||
|
@@ -368,6 +377,7 @@ jobs: | |
- image: cimg/rust:1.80.0 | ||
resource_class: xlarge | ||
steps: | ||
- rust_install_nightly | ||
- setup_remote_docker | ||
- checkout | ||
- run: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,46 +49,15 @@ jobs: | |
mkdir -p ~/.cw-orchestrator | ||
echo -n '${{ secrets.CW_ORCH_NETWORKS }}' > ~/.cw-orchestrator/networks.toml | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: "interchain/framework-clone-testing -> target" | ||
with: | ||
workspaces: "interchain/framework-clone-testing -> target" | ||
- name: cargo test --locked | ||
env: | ||
SCCACHE_GHA_ENABLED: "true" | ||
RUSTC_WRAPPER: "sccache" | ||
working-directory: ./interchain/framework-clone-testing | ||
run: cargo nextest run --retries 3 | ||
|
||
interchain-tests: | ||
runs-on: ubuntu-latest | ||
name: interchain mock tests | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: | | ||
${{ secrets.SSH_PRIVATE_KEY_MULTI_TEST }} | ||
${{ secrets.SSH_PRIVATE_KEY_CW_ORCH_INTERCHAIN }} | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
version: "v0.8.1" | ||
- name: Install stable | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: stable | ||
- name: cargo generate-lockfile | ||
if: hashFiles('Cargo.lock') == '' | ||
working-directory: ./interchain/interchain-tests | ||
run: cargo generate-lockfile | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: "interchain/interchain-tests -> target" | ||
- name: cargo test --locked | ||
working-directory: ./interchain/interchain-tests | ||
run: cargo test --locked | ||
|
||
modules-clone-tests: | ||
runs-on: ubuntu-latest | ||
name: module clone tests | ||
|
@@ -119,8 +88,8 @@ jobs: | |
mkdir -p ~/.cw-orchestrator | ||
echo -n '${{ secrets.CW_ORCH_NETWORKS }}' > ~/.cw-orchestrator/networks.toml | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: "interchain/modules-clone-testing -> target" | ||
with: | ||
workspaces: "interchain/modules-clone-testing -> target" | ||
- name: cargo test --locked | ||
working-directory: ./interchain/modules-clone-testing | ||
run: cargo nextest run --retries 3 | ||
run: cargo nextest run --retries 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.