Skip to content

Commit

Permalink
Merge pull request #1536 from shirou/feat/skip_nice_on_ci
Browse files Browse the repository at this point in the history
[process][darwin]: skip process.Nice test if darwin on GitHub Action
  • Loading branch information
shirou authored Oct 7, 2023
2 parents 48960df + 83427f9 commit 21fe65f
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 21fe65f

Please sign in to comment.