E2E tests on Windows OS #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tanzu CLI Core E2E Tests on Windows | |
on: | |
pull_request: | |
branches: [main, release-*] | |
push: | |
branches: [ main, test*, release-*] | |
jobs: | |
build: | |
name: Tanzu CLI Core E2E Tests on Windows | |
runs-on: windows-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
id: go | |
- name: go cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Run Unit Test | |
run: | | |
Makefile.bat test |