feat: multichain-testing #24
Workflow file for this 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
name: Multichain E2E Tests | |
on: | |
# for now, only run on-demand | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
multichain-e2e: | |
runs-on: ubuntu-latest-16core | |
strategy: | |
matrix: | |
node-version: ['18.x'] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
path: ./agoric-sdk | |
- uses: ./agoric-sdk/.github/actions/restore-node | |
with: | |
node-version: ${{ matrix.node-version }} | |
path: ./agoric-sdk | |
- name: Enable Corepack | |
run: corepack enable || sudo corepack enable | |
working-directory: ./agoric-sdk/multichain-testing | |
- name: Install @agoric/multichain-testing deps | |
run: yarn install | |
working-directory: ./agoric-sdk/multichain-testing | |
- name: Lint @agoric/multichain-testing | |
run: yarn lint | |
working-directory: ./agoric-sdk/multichain-testing | |
- name: Set Up Starship Infrastructure | |
id: starship-infra | |
uses: cosmology-tech/[email protected] | |
with: | |
# uses ghcr.io/agoric/agoric-sdk:dev image (latest master) | |
values: ./agoric-sdk/multichain-testing/config.yaml | |
port-forward: true | |
version: 0.2.2 | |
timeout: 30m | |
namespace: agoric-multichain | |
- name: Fund Provision Pool | |
run: | | |
sleep 10 | |
echo "Running kubectl config get-contexts" | |
kubectl config get-contexts | |
echo "Running kubectl config current-context" | |
kubectl config current-context | |
echo "Running kubectl get pods" | |
kubectl get pods | |
echo "Running kubectl get pods -n agoric-multichain" | |
kubectl get pods -n agoric-multichain | |
make fund-provision-pool | |
working-directory: ./agoric-sdk/multichain-testing | |
- name: Run @agoric/multichain-testing E2E Tests | |
run: yarn test | |
working-directory: ./agoric-sdk/multichain-testing |