Skip to content

Merge pull request #147 from alephium/overlay-logo-and-symbol #429

Merge pull request #147 from alephium/overlay-logo-and-symbol

Merge pull request #147 from alephium/overlay-logo-and-symbol #429

Workflow file for this run

name: Integration Test
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.18.6'
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: build devnet docker images
run: ./build-docker-images.sh "devnet" "latest"
- name: docker system prune
run: docker system prune -f
- name: start docker images
working-directory: ./docker
run: MONGO_USER=root MONGO_PASSWORD=root docker compose up -d
- name: wait until contracts are deployed
working-directory: ./docker
run: ./wait-until-services-up.sh
- name: build clients
working-directory: ./clients/js
run: npm install && npm run build
- name: run integration test
working-directory: ./integration_test
run: npm install && npm run it
- name: run relayer integration test
working-directory: ./relayer-engine
run: |
npm install && npm run build
npm run start:devnet &
sleep 5 && npm run test
- name: Collect Docker Logs
if: success() || failure()
uses: jwalton/[email protected]
# Next publish docker images after integration tests pass