Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

do not send empty logs through the channel #107

do not send empty logs through the channel

do not send empty logs through the channel #107

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:13
env:
POSTGRES_USER: ergomake
POSTGRES_PASSWORD: ergomake
POSTGRES_DB: ergomake
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: stable
- run: make migrate
env:
DATABASE_URL: postgresql://ergomake:ergomake@localhost:5432/ergomake?sslmode=disable
- run: make test
env:
DATABASE_URL: postgresql://ergomake:ergomake@localhost:5432/ergomake?sslmode=disable