diff --git a/.github/workflows/build-test-windows.yml b/.github/workflows/build-test-windows.yml index 89702db90c..fbb378df03 100644 --- a/.github/workflows/build-test-windows.yml +++ b/.github/workflows/build-test-windows.yml @@ -19,7 +19,7 @@ concurrency: cancel-in-progress: true jobs: - windows-unittest: + windows-2019-unittest: runs-on: windows-2019 steps: - name: Checkout Repo @@ -51,3 +51,36 @@ jobs: - name: Run build run: make build + + windows-lateest-unittest: + runs-on: windows-2019 + steps: + - name: Checkout Repo + uses: actions/checkout@v2 + + - name: Setup Go + uses: actions/setup-go@v2 + with: + go-version: ~1.15.15 + + - name: Cache Go + uses: actions/cache@v2 + with: + path: | + %LocalAppData%\go-build + ~/go/pkg/mod + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + + - name: Install make + run: choco install make + + - name: Run Unit tests + run: make test + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + verbose: true + + - name: Run build + run: make build \ No newline at end of file