Skip to content

Make tests more resilient to slow emit stats #322

Make tests more resilient to slow emit stats

Make tests more resilient to slow emit stats #322

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
services:
rabbitmq:
image: rabbitmq:4-management
ports:
- 15672:15672
- 5672:5672
strategy:
matrix:
go: ["1.21", "1.22"]
steps:
- name: CHECKOUT
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Print Go version
run: go version
- name: Wait for node to start booting
run: sleep 15
- name: Configure broker
run: RABBITHOLE_RABBITMQCTL=DOCKER:${{job.services.rabbitmq.id}} bin/ci/before_build.sh
- name: Run tests
run: make