Skip to content

Merge pull request #134 from NYDIG-OSS/dependabot/go_modules/lnmuxrpc… #594

Merge pull request #134 from NYDIG-OSS/dependabot/go_modules/lnmuxrpc…

Merge pull request #134 from NYDIG-OSS/dependabot/go_modules/lnmuxrpc… #594

Workflow file for this run

name: Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "**" ]
jobs:
unit-test:
runs-on: ubuntu-latest
container: golang:1.19
services:
postgres:
image: postgres:14
env:
POSTGRES_USER: bottle_test
POSTGRES_PASSWORD: bottle_test
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Run tests
# Runs a script that creates a PostgreSQL client,
# populates the client with data, and retrieves data
run: go test -race -cover ./...
env:
LNMUX_TEST_DB_DSN: "postgres://bottle_test:bottle_test@postgres/postgres?sslmode=disable"