Skip to content

Async replication: refactor AsyncAllowedLag to time.Duration #516

Async replication: refactor AsyncAllowedLag to time.Duration

Async replication: refactor AsyncAllowedLag to time.Duration #516

Workflow file for this run

name: Unit tests
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
GO_VERSION: 1.21.6
jobs:
unittest:
name: all_unittests
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Test
run: make unittests
env:
TEST_MODIFIER: -race