Add make test execution for macos-10.15
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
parent
fa00ec8fc7
commit
c5e2e5e30b
|
@ -79,3 +79,24 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
kind delete cluster --name ${{ steps.prep.outputs.CLUSTER }}
|
kind delete cluster --name ${{ steps.prep.outputs.CLUSTER }}
|
||||||
rm /tmp/${{ steps.prep.outputs.CLUSTER }}
|
rm /tmp/${{ steps.prep.outputs.CLUSTER }}
|
||||||
|
|
||||||
|
# Runs 'make test' on macos-10.15 to assure development environment for
|
||||||
|
# contributors using MacOS.
|
||||||
|
darwin-amd64:
|
||||||
|
runs-on: macos-10.15
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: 1.17.x
|
||||||
|
- name: Restore Go cache
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: /home/runner/work/_temp/_github_home/go/pkg/mod
|
||||||
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-go-
|
||||||
|
- name: Run tests
|
||||||
|
run: make test
|
||||||
|
|
Loading…
Reference in New Issue