forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pants.ci.toml
44 lines (36 loc) · 1.03 KB
/
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
40
41
42
43
44
[GLOBAL]
colors = true
remote_cache_read = true
remote_cache_write = true
# We want to continue to get logs when remote caching errors.
remote_cache_warnings = "backoff"
[stats]
log = true
memory_summary = true
[test]
use_coverage = true
xml_dir = "dist/test-results/"
[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
[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",
]