forked from yetanotherco/aligned_layer
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (42 loc) · 1.14 KB
/
test-docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Test
on:
push:
branches:
- docker-compose
jobs:
network-test-docker-compose:
name: "Test network with Docker Compose"
timeout-minutes: 15
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
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/