Skip to content

*: add leader to follower choice #429

*: add leader to follower choice

*: add leader to follower choice #429

Workflow file for this run

name: Unit tests
on:
push:
branches: [ main ]
paths:
- mysqlcluster/**
- utils/*
pull_request:
branches: [ main ]
paths:
- mysqlcluster/**
- utils/*
jobs:
test-cluster:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17.13
- name: Check out source code
uses: actions/checkout@v1
- name: Run test
run: go test ./mysqlcluster/container/ ./mysqlcluster/ -v -cover
test-utils:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17.13
- name: Check out source code
uses: actions/checkout@v1
- name: Run test
run: go test ./utils/ -v -cover