Skip to content

Removes workaround for "200 response status" on "no object found" (#27) #65

Removes workaround for "200 response status" on "no object found" (#27)

Removes workaround for "200 response status" on "no object found" (#27) #65

Workflow file for this run

name: "Tests"
on:
push:
paths:
- "*.go"
- "go.mod"
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
- name: Mod tidy
run: go mod tidy
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic
- name: e2e test
run: go test -tags=acctest
env:
NEON_API_KEY: ${{ secrets.NEON_API_KEY }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3