Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore Bridge CI #946

Draft
wants to merge 5 commits into
base: feature/trusted-relayer
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/checks-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,39 @@ jobs:
- name: Run MCR Client Tests
run: nix develop --command bash -c "just mcr-client native build.local.test -t=false"

bridge-integration-tests:
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-8vcpu-ubuntu-2204

runs-on: ${{ matrix.runs-on }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Aptos CLI
run: |
curl -fsSL "https://raw.githubusercontent.com/andygolay/aptos-cli-install/refs/heads/main/install_cli_v3.5.py" | python3

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main

- uses: cachix/cachix-action@v15
with:
name: movementlabs
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: Run Movement Full Node + indexer Tests Against Local ETH and Local Celestia
env:
CELESTIA_LOG_LEVEL: FATAL # adjust the log level while debugging
DOT_MOVEMENT_PATH: ${{ github.workspace }}/.movement
run: |
nix develop --command bash -c "just bridge native build.setup.eth-local.celestia-local.bridge.test -t=false"

## any use of Move CLI requires ubuntu-24.04 and to not run on buildjet
move-modules-test:
if: github.event.label.name == 'cicd:bridge' || github.ref == 'refs/heads/main'
Expand Down
31 changes: 31 additions & 0 deletions process-compose/bridge/process-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: "3"

environment:

processes:
test_e2e:
command: |
DOT_MOVEMENT_PATH="$(pwd)/.movement" cargo test --test bridge_e2e_test_framework -- --nocapture --test-threads=1
depends_on:
bridge:
condition: process_healthy
availability:
exit_on_end: false

test_eth:
command: |
DOT_MOVEMENT_PATH="$(pwd)/.movement" cargo test --test client_eth_tests -- --nocapture --test-threads=1
depends_on:
bridge:
condition: process_healthy
availability:
exit_on_end: false

test_mvt:
command: |
DOT_MOVEMENT_PATH="$(pwd)/.movement" cargo test --test client_mvt_tests -- --nocapture --test-threads=1
depends_on:
bridge:
condition: process_healthy
availability:
exit_on_end: false
Loading