Skip to content

feat: allow updating existing accounts opening date #13

feat: allow updating existing accounts opening date

feat: allow updating existing accounts opening date #13

Workflow file for this run

name: "Run Tests"
on:
push:
paths-ignore:
- 'docs/**'
- 'deployments/**'
- '*.md'
- 'client/**'
branches:
- main
- tests
workflow_dispatch:
jobs:
test:
name: Run Go tests
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.2
cache: true
- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go mod download
- name: Run tests with coverage
run: |
cd tests
go test -v -race -coverprofile=coverage.out -covermode=atomic ./...