Skip to content

(test) testing CI for aggregator #89

(test) testing CI for aggregator

(test) testing CI for aggregator #89

name: "[CI] Send proofs to network"
on:
pull_request:
types: [opened, synchronize]
concurrency:
group: pull_request-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
network-test-docker-compose:
name: "Test network with Docker Compose"
runs-on: aligned-runner-ci
permissions:
contents: read
packages: write
pull-requests: write
steps:
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build containers
run: make docker_build
- name: Start containers and initialize network
run: make docker_up && sleep 15
- name: Send proofs batches
run: make docker_batcher_send_all_proofs_burst
- name: Verify all sent proofs
run: make docker_verify_proof_submission_success
post-cleanup:
name: "Cleanup"
runs-on: aligned-runner-ci
if: ${{ always() }}
needs: network-test-docker-compose
steps:
- name: Stop containers
continue-on-error: true
if: always()
run: make docker_down
- name: Delete _work
if: always()
run: sudo rm -rf /home/admin/actions-runner/_work/aligned_layer/