Skip to content

E2E tests

E2E tests #955

Workflow file for this run

name: E2E tests
on:
push:
branches:
- main
- release/*
paths:
- "starship/**"
- ".github/workflows/e2e-tests.yaml"
# Run every day at 18:00 UTC
schedule:
- cron: '0 18 * * *'
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-e2e-tests
cancel-in-progress: true
jobs:
e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
config-file:
- "two-chain.yaml"
- "build-chain.yaml"
- "multi-validator.yaml"
- "two-chain-gorelayer.yaml"
- "simapp.yaml"
- "injective.yaml"
- "evmos.yaml"
- "one-chain-starship-faucet.yaml"
- "multi-validator-starship-faucet.yaml"
- "one-chain-cometmock.yaml"
- "two-chain-cometmock.yaml"
- "neutron.yaml"
- "three-chain.yaml"
- "agoric.yaml"
- "multi-relayer.yaml"
- "neutron-relayer.yaml"
- "one-cosmoshub-starship-faucet.yaml"
fail-fast: true
max-parallel: 1
env:
CONFIG_FILE: "starship/tests/e2e/configs/${{ matrix.config-file }}"
defaults:
run:
working-directory: starship
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run remote e2e test
id: e2e-test
uses: ./.github/actions/e2e-test
with:
config-file: ${{ env.CONFIG_FILE }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ vars.AWS_REGION }}
aws-eks-cluster: ${{ vars.AWS_EKS_CLUSTER }}
# todo: change this to be post step of the action
- name: Cleanup cluster
if: always()
run: |
helm delete $DEVNET_NAME --debug --namespace $DEVNET_NAMESPACE --wait || true
kubectl delete namespace $DEVNET_NAMESPACE --wait=true || true
shell: bash
env:
DEVNET_NAME: ${{ steps.e2e-test.outputs.name }}
DEVNET_NAMESPACE: ${{ steps.e2e-test.outputs.namespace }}