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

[DRAFT] Avalanche support #45

Draft
wants to merge 9 commits into
base: fantom
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
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,40 @@ jobs:
docker-compose -f docker-compose-fantom.yml run integration_tests $(cat splits.txt)
working_directory: ops

integration-tests-avalanche:
machine:
image: ubuntu-2004:202111-02
docker_layer_caching: true
environment:
DOCKER_BUILDKIT: 1
parallelism: 4
steps:
- checkout
- run:
name: Bring up the stack
command: |
./scripts/build-ci-avalanche.sh
BUILD=2 DAEMON=1 ./up_local_avalanche.sh
working_directory: ops
- run:
name: Start background logging
working_directory: ops
background: true
command: docker-compose -f docker-compose-avalanche.yml logs --follow
- run:
name: Wait for sequencer
command: bash scripts/wait-for-sequencer.sh docker-compose-avalanche.yml
working_directory: ops
- run:
name: Run integration tests
command: |
circleci tests glob "../integration-tests/test/*.spec.ts" | circleci tests split | tee splits.txt
docker-compose -f docker-compose-avalanche.yml run integration_tests $(cat splits.txt)
working_directory: ops

workflows:
main:
jobs:
- integration-tests-moonbeam
- integration-tests-fantom
- integration-tests-avalanche
Loading