Skip to content

Merge pull request #9 from pppontusw/remove-fragments #21

Merge pull request #9 from pppontusw/remove-fragments

Merge pull request #9 from pppontusw/remove-fragments #21

Workflow file for this run

name: Go Tests
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: test
POSTGRES_PASSWORD: Test1234
POSTGRES_DB: test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22'
- name: Run tests
run: make test-ci