Skip to content

Commit c5e2e5e

Browse files
author
Paulo Gomes
committed
Add make test execution for macos-10.15
Signed-off-by: Paulo Gomes <[email protected]>
1 parent fa00ec8 commit c5e2e5e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/e2e.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,24 @@ jobs:
7979
run: |
8080
kind delete cluster --name ${{ steps.prep.outputs.CLUSTER }}
8181
rm /tmp/${{ steps.prep.outputs.CLUSTER }}
82+
83+
# Runs 'make test' on macos-10.15 to assure development environment for
84+
# contributors using MacOS.
85+
darwin-amd64:
86+
runs-on: macos-10.15
87+
steps:
88+
- name: Checkout
89+
uses: actions/checkout@v2
90+
- name: Setup Go
91+
uses: actions/setup-go@v2
92+
with:
93+
go-version: 1.17.x
94+
- name: Restore Go cache
95+
uses: actions/cache@v1
96+
with:
97+
path: /home/runner/work/_temp/_github_home/go/pkg/mod
98+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
99+
restore-keys: |
100+
${{ runner.os }}-go-
101+
- name: Run tests
102+
run: make test

0 commit comments

Comments
 (0)