chore: Bump release tools (library development branch) #1164
Workflow file for this run
This file contains hidden or 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
| # Run integration and unit tests on a Windows machine | |
| name: Windows Tests | |
| on: [push, pull_request] | |
| jobs: | |
| integration_tests: | |
| strategy: | |
| matrix: | |
| go: ['1.16'] | |
| platform: [windows-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Run Windows Integration Tests | |
| shell: powershell | |
| run: | | |
| # required for running Volume and Disk tests | |
| Install-WindowsFeature -name Hyper-V-PowerShell | |
| $env:CSI_PROXY_GH_ACTIONS="TRUE" | |
| go test --timeout 20m -v -race ./integrationtests/... | |
| unit_tests: | |
| strategy: | |
| matrix: | |
| go: ['1.16'] | |
| platform: [windows-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Run Windows Unit Tests | |
| run: | | |
| go test -v -race ./pkg/... |