mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
use only sudo for running maven test server (remove nice)
This commit is contained in:
@@ -7,7 +7,7 @@ def test(codeql, java):
|
||||
command = ["python3", "-m", "http.server", "9427", "-b", "localhost"]
|
||||
if runs_on.github_actions and runs_on.posix:
|
||||
# On GitHub Actions, we try to run the server with higher priority
|
||||
command = ["sudo", "nice", "-n", "10"] + command
|
||||
command = ["sudo"] + command
|
||||
repo_server_process = subprocess.Popen(
|
||||
command, cwd="repo"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user