.github/workflows: reenable Windows CI, disable broken tests

We accidentally switched to ./tool/go in
4022796484 which resulted in no longer
running Windows builds, as this is attempting to run a bash script.

I was unable to quickly fix the various tests that have regressed, so
instead I've added skips referencing #7876, which we need to back and
fix.

Updates #7262
Updates #7876

Signed-off-by: James Tucker <james@tailscale.com>
This commit is contained in:
James Tucker
2023-04-14 11:09:21 -07:00
committed by James Tucker
parent 4ecc7fdf5f
commit 8dec1a8724
6 changed files with 55 additions and 1 deletions

View File

@ -5,6 +5,7 @@ package syncs
import (
"context"
"runtime"
"sync"
"testing"
"time"
@ -45,6 +46,9 @@ func TestWatchContended(t *testing.T) {
}
func TestWatchMultipleValues(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("TODO(#7876): test regressed on windows while CI was broken")
}
mu := new(sync.Mutex)
ctx, cancel := context.WithCancel(context.Background())
defer cancel() // not necessary, but keep vet happy