From d84845553b0bb1917e95c884461c8dd869b24735 Mon Sep 17 00:00:00 2001 From: Mayank Shah Date: Mon, 19 Oct 2020 12:59:27 +0530 Subject: [PATCH] CI: add GH Actions workflow for linux unit tests Signed-off-by: Mayank Shah --- .github/workflows/darwin.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/darwin.yaml diff --git a/.github/workflows/darwin.yaml b/.github/workflows/darwin.yaml new file mode 100644 index 00000000..75acf942 --- /dev/null +++ b/.github/workflows/darwin.yaml @@ -0,0 +1,20 @@ +name: Darwin +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] +jobs: + build: + name: Unit Tests + runs-on: macos-latest + steps: + - name: Set up Go 1.x + uses: actions/setup-go@v2 + with: + go-version: ^1.13 + id: go + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + - name: Run unit tests + run: go test -v -race ./pkg/... \ No newline at end of file