diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index cab4c31..7247ec8 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -25,6 +25,10 @@ on: description: 'The mnemonic phrase for the account to use in testing' required: false type: string + a3p_image_tag: + description: 'Docker image tag for the a3p chain to use in testing' + required: false + type: string concurrency: group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || @@ -53,6 +57,7 @@ jobs: SYNPRESS_PROFILE: ${{ env.NETWORK != 'local' && 'daily-tests' || 'synpress' }} CYPRESS_AGORIC_NET: ${{ env.NETWORK }} # for docker-compose.yml + A3P_IMAGE_TAG: ${{ inputs.a3p_image_tag || 'latest'}} COMPOSE_DOCKER_CLI_BUILD: 1 DOCKER_BUILDKIT: 1 DOCKER_DEFAULT_PLATFORM: linux/amd64 diff --git a/README.md b/README.md index 3f0273b..a23d249 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ To deploy, push to that branch. e.g. if you've qualified main, git push origin main:beta ``` -## Testing +## E2E Testing E2E tests have been written in order to test the dapp as well as to perform automated testing on emerynet/devnet when upgrading the chain diff --git a/tests/e2e/docker-compose.yml b/tests/e2e/docker-compose.yml index a819f43..96b5811 100644 --- a/tests/e2e/docker-compose.yml +++ b/tests/e2e/docker-compose.yml @@ -104,7 +104,7 @@ services: profiles: - synpress container_name: agoric_chain - image: ghcr.io/agoric/agoric-3-proposals:latest + image: ghcr.io/agoric/agoric-3-proposals:${A3P_IMAGE_TAG} logging: driver: none platform: linux/amd64