Skip to content

Add WithInnerJoinSelection, WithLeftJoinSelection #55

Add WithInnerJoinSelection, WithLeftJoinSelection

Add WithInnerJoinSelection, WithLeftJoinSelection #55

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches: [ main ]
jobs:
unitests:
runs-on: 'ubuntu-latest'
services:
postgres:
image: postgres:14
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DATABASE: postgres
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run init.sql script
run: |
sudo apt-get install postgresql-client
export PGPASSWORD=postgres
psql -h localhost -U postgres -d postgres -f $GITHUB_WORKSPACE/testing/init.sql
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.19
- run: go mod download
- name: Test
run: go test -v ./...