Skip to content

feat: auto-updated SDK (#30). UpdateProject reverted to 0.2.3 accordi… #72

feat: auto-updated SDK (#30). UpdateProject reverted to 0.2.3 accordi…

feat: auto-updated SDK (#30). UpdateProject reverted to 0.2.3 accordi… #72

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