forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pants.ci.toml
39 lines (32 loc) · 948 Bytes
/
pants.ci.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[GLOBAL]
colors = true
remote_cache_read = true
remote_cache_write = true
[test]
use_coverage = true
[pytest]
args = ["--no-header", "--noskip", "-vv"]
[coverage-py]
report = ["raw", "xml"]
[auth]
from_env_var = "TOOLCHAIN_AUTH_TOKEN"
org = "pantsbuild"
# CI runs occasionally hit the 30 minute mark.
token_expiration_threshold = 40
ci_env_variables = [
"GITHUB_ACTIONS", "GITHUB_RUN_ID", "GITHUB_REF", "GITHUB_EVENT_NAME", "GITHUB_SHA", "GITHUB_REPOSITORY",
"GITHUB_WORKFLOW","GITHUB_JOB", # temporary, for debugging issues w/ restricted tokens.
]
restricted_token_matches = """{
'GITHUB_REPOSITORY': 'pantsbuild/pants',
}"""
[buildsense]
enable = true
collect_platform_data = true
log_final_upload_latency = true
[subprocess-environment]
env_vars.add = [
# Works around bad `-arch arm64` flag embedded in Xcode 12.x Python interpreters on intel
# machines. See: https://github.com/giampaolo/psutil/issues/1832
"ARCHFLAGS",
]