Sleep for 2 minutes #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | ||
on: | ||
push: | ||
branches: | ||
- docker-compose | ||
jobs: | ||
network-test-docker-compose: | ||
name: "Test network with Docker Compose" | ||
timeout-minutes: 30 | ||
runs-on: docker | ||
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@v1 | ||
- 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: docker | ||
needs: docker | ||
steps: | ||
- name: Stop containers | ||
if: always() | ||
run: make docker_down | ||
- name: Delete _work | ||
if: always() | ||
run: sudo rm -rf /home/admin/actions-runner/_work/aligned_layer/ |