Skip to content

Commit

Permalink
[process][darwin]: skip process.Nice test if darwin on GitHub Action
Browse files Browse the repository at this point in the history
fix: #1532
  • Loading branch information
shirou committed Oct 7, 2023
1 parent 48960df commit 83427f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions process/process_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ func Test_Process_NumCtx(t *testing.T) {
func Test_Process_Nice(t *testing.T) {
p := testGetProcess()

// https://github.com/shirou/gopsutil/issues/1532
if os.Getenv("CI") == "true" && runtime.GOOS == "darwin" {
t.Skip("Skip CI")
}

n, err := p.Nice()
skipIfNotImplementedErr(t, err)
if err != nil {
Expand Down

0 comments on commit 83427f9

Please sign in to comment.