Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into ica-client/tests-move
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayanski committed Oct 22, 2024
2 parents c6d7ad5 + 3cfbe12 commit 2c43df7
Show file tree
Hide file tree
Showing 421 changed files with 32,291 additions and 10,649 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -368,6 +377,7 @@ jobs:
- image: cimg/rust:1.80.0
resource_class: xlarge
steps:
- rust_install_nightly
- setup_remote_docker
- checkout
- run:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/framework-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
run: |
df -h
rm -rf /usr/share/dotnet/
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y 'php.*' || true
sudo apt-get remove -y '^dotnet-.*' || true
sudo apt-get remove -y azure-cli firefox powershell mono-devel || true
sudo apt-get autoremove -y
sudo apt-get clean
sudo apt-get autoremove -y || true
sudo apt-get clean || true
df -h
shell: bash
- uses: Swatinem/rust-cache@v2
Expand Down
41 changes: 5 additions & 36 deletions .github/workflows/interchain-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Read [the complete documentation](https://docs.abstract.money/) for more informa

The repository is structured as follows:

- **app-template:** A template for creating new Abstract apps. See [app-template repo](https://github.com/AbstractSDK/app-template) for a cloneable version.
- **templates:** Templates for creating new Abstract modules. See the [templates repo](https://github.com/AbstractSDK/templates) to generate your template.
- **framework:** The Abstract framework. This is the core of the Abstract project and contains the smart-contracts and packages related to the on-chain abstract accounts and surrounding infrastructure. Have a look at the [Abstract SDK documentation](https://docs.abstract.money/3_framework/1_abstract_sdk.html) if you're interested in building with Abstract!
- **modules:** The Abstract-maintained modules. These are a set of example apps that are built on top of the Abstract framework. They can be used as standalone applications or as building blocks for creating more complex applications.
- **integrations:** Integrations with other projects, particularly dexes.
Expand Down
Loading

0 comments on commit 2c43df7

Please sign in to comment.