Skip to content

Commit 1a250ce

Browse files
authored
add check to ensure test containers build (#726)
1 parent 63d8202 commit 1a250ce

File tree

2 files changed

+52
-31
lines changed

2 files changed

+52
-31
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Test GraphTally
2+
on:
3+
push:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
# test job requires a full local testnet
9+
# running, and it requires way more memory
10+
# than what actions supports
11+
# test:
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - name: Checkout code
15+
# uses: actions/checkout@v3
16+
#
17+
# - name: Set up Docker Buildx # Changed from "Set up Docker" for clarity
18+
# uses: docker/setup-buildx-action@v2
19+
#
20+
# - name: Run make setup
21+
# run: make setup
22+
#
23+
# - name: Run tests
24+
# run: make rav_tests
25+
#
26+
# - name: Tear down containers
27+
# if: always()
28+
# run: make down
29+
build_docker_images:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout code
33+
uses: actions/checkout@v3
34+
35+
- name: Set up QEMU # Useful for multi-platform builds
36+
uses: docker/setup-qemu-action@v2
37+
38+
- name: Set up Docker Buildx # Enhances docker build capabilities
39+
uses: docker/setup-buildx-action@v2
40+
41+
# Login to a Docker registry is not needed if push: false and not pushing images
42+
# - name: Login to GitHub Container Registry
43+
# uses: docker/login-action@v3
44+
# with:
45+
# registry: ghcr.io
46+
# username: ${{ github.actor }}
47+
# password: ${{ secrets.GITHUB_TOKEN }}
48+
- name: Build indexer-service image with Docker Compose
49+
run: docker compose -f contrib/docker-compose.yml build indexer-service
50+
51+
- name: Build tap-agent image with Docker Compose
52+
run: docker compose -f contrib/docker-compose.yml build tap-agent

.github/workflows/tap_integration_test.yml.disable

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)