mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-25 01:33:28 +01:00
Try running all tests in github actions with a longer timeout
This commit is contained in:
parent
889f12d4bd
commit
8e6a55237c
4
Makefile
4
Makefile
@ -1,9 +1,9 @@
|
||||
forcetest:
|
||||
go clean -testcache
|
||||
HISHTORY_TEST=1 go test -p 1 -timeout 20m ./...
|
||||
HISHTORY_TEST=1 go test -p 1 -timeout 30m ./...
|
||||
|
||||
test:
|
||||
HISHTORY_TEST=1 go test -p 1 -timeout 20m ./...
|
||||
HISHTORY_TEST=1 go test -p 1 -timeout 30m ./...
|
||||
|
||||
acttest:
|
||||
act push -j test -e .github/push_event.json --reuse --container-architecture linux/amd64
|
||||
|
@ -1706,11 +1706,6 @@ func fuzzTest(t *testing.T, tester shellTester, input string) {
|
||||
ops = append(ops, op)
|
||||
}
|
||||
|
||||
// MacOs on github actions is slow, so trim the fuzz tests down so they finish in time
|
||||
if len(ops) > 5 && os.Getenv("GITHUB_ACTION") != "" && runtime.GOOS == "darwin" {
|
||||
ops = ops[:5]
|
||||
}
|
||||
|
||||
// Set up and create the devices
|
||||
defer shared.BackupAndRestore(t)()
|
||||
var deviceMap map[device]deviceOp = make(map[device]deviceOp)
|
||||
|
Loading…
Reference in New Issue
Block a user