move tests to gh actions (#9461)

This commit is contained in:
Ricardo Katz 2022-12-29 19:09:29 -03:00 committed by GitHub
parent 2db8552a87
commit 3916f7b8b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 72 additions and 11 deletions

View file

@ -33,7 +33,8 @@ import (
// NumCPU returns the number of logical CPUs usable by the current process.
// If CPU cgroups limits are configured, use cfs_quota_us / cfs_period_us
// as formula
// https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt
//
// https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt
func NumCPU() int {
cpus := runtime.NumCPU()