mirror of
https://github.com/getwax/bls-wallet.git
synced 2026-04-23 03:00:37 -04:00
70 lines
1.6 KiB
YAML
70 lines
1.6 KiB
YAML
name: integration
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
paths:
|
|
- 'aggregator/**'
|
|
# Check for breaking changes from contracts
|
|
- 'contracts/**'
|
|
- '.github/workflows/integration.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'aggregator/**'
|
|
# Check for breaking changes from contracts
|
|
- 'contracts/**'
|
|
- '.github/workflows/integration.yml'
|
|
branches-ignore:
|
|
# Changes targeting this branch should be tested+fixed when being merged
|
|
# into main
|
|
- contract-updates
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: ./contracts/clients
|
|
|
|
env:
|
|
DENO_VERSION: 1.x
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ./.github/actions/setup-contracts-clients
|
|
- working-directory: ./contracts/clients
|
|
run: yarn build
|
|
|
|
test-integration:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ./.github/actions/setup-contracts-clients
|
|
- uses: denoland/setup-deno@v1
|
|
with:
|
|
deno-version: ${{ env.DENO_VERSION }}
|
|
|
|
# - name: run geth node and deploy contracts
|
|
- uses: ./.github/actions/local-contract-deploy-geth
|
|
|
|
- working-directory: ./contracts
|
|
run: ./scripts/wait-for-contract-deploy.sh
|
|
|
|
# - name: run aggregator
|
|
- uses: ./.github/actions/local-aggregator-deploy
|
|
|
|
# - name: integration tests
|
|
- working-directory: ./contracts
|
|
run: yarn test-integration
|
|
|
|
# - name: upload artifacts
|
|
- uses: actions/upload-artifact@v3
|
|
if: always()
|
|
with:
|
|
name: aggregator-logs
|
|
path: ./aggregator/aggregatorLogs.txt
|
|
retention-days: 5
|