Skip to content

Remove zeogrid from STORE_ALL nodes #2611

Remove zeogrid from STORE_ALL nodes

Remove zeogrid from STORE_ALL nodes #2611

Workflow file for this run

name: Go Tests with Docker Compose
on:
# Tests gate PRs into main. The redundant push:main run (same commits already
# tested on the PR) is dropped; keep workflow_dispatch for manual reruns.
pull_request:
branches: [ main ]
workflow_dispatch:
# Cancel superseded runs when a PR is updated with new commits.
concurrency:
group: test-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Compose
run: docker compose version
- name: Build and run services
run: docker compose up -d
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25.3'
- name: Install dependencies
run: go mod tidy
- name: Wait for Postgres to be ready
run: |
until docker compose exec -T db pg_isready -U testuser; do
echo "Waiting for Postgres..."
sleep 2
done
- name: Run tests
run: go test -cover ./...
- name: Shutdown
if: always()
run: docker compose down