Skip to content

ApiKeyCreateResponse updated | auto-updated SDK (#31) #73

ApiKeyCreateResponse updated | auto-updated SDK (#31)

ApiKeyCreateResponse updated | auto-updated SDK (#31) #73

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@v4
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