-
Notifications
You must be signed in to change notification settings - Fork 390
Expand file tree
/
Copy pathPULL_REQUEST_BAZEL_TARGETS
More file actions
102 lines (80 loc) · 4.62 KB
/
PULL_REQUEST_BAZEL_TARGETS
File metadata and controls
102 lines (80 loc) · 4.62 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# What?
# This file specifies which additional bazel targets to test for which specific file changes.
#
# Why?
# On PRs not tagged with CI_ALL_BAZEL_TARGETS, which is the default,
# CI only tests bazel targets which have modified inputs
# and excludes tests tagged as 'long_test'.
#
# From experience we know that modifications to certain
# files or directories have a high risk of breaking certain long_tests.
# In those cases folks have traditionally labelled their PRs with CI_ALL_BAZEL_TARGETS
# to run *all* long_tests. This however is often overkill and often forgotten.
#
# To address both issues this file can specify which bazel
# targets to explicitly test based on which files were modified
# disregarding whether they're long_tests.
#
# How?
# The syntax is similar but not the same as gitignore
# (https://git-scm.com/docs/gitignore#_pattern_format):
# * A blank line matches no files, so it can serve as a separator for readability.
# * A line starting with # serves as a comment.
# Put a backslash ("\") in front of the first hash for patterns that begin with a hash.
# * A pattern is separated by whitespace from its set of targets which are whitespace separated.
# * Patterns and targets don't support spaces in them. This might be added later if desired.
# * Targets can span multiple lines for readability.
# So the targets on a line starting with whitespace
# are considered part of the previous set of targets.
# * Unlike gitignore, patterns use simple globbing semantics:
# https://docs.python.org/3/library/fnmatch.html
# So there's no negation of patterns or special directory handling
# like gitignore wildmatch patterns.
#
# Tip: to test which files matches <PATTERN> you can use the following:
# git ls-files | python -c 'import sys, fnmatch; print("\n".join(fnmatch.filter(sys.stdin.read().splitlines(),"<PATTERN>")))'
#
# Run `ci/scripts/targets.py check` to see the matches for every pattern
# and to check the correctness of this file. This is also run automatically by
# the check-pull-request-bazel-targets job on CI.
mainnet-icos-revisions.json
//rs/tests/consensus/backup:backup_manager_downgrade_test_colocate
//rs/tests/consensus/backup:backup_manager_upgrade_test_colocate
//rs/tests/consensus/upgrade:upgrade_downgrade_app_subnet_test_colocate
ic-os/guestos/context/docker-base.* //rs/tests/node:kill_start_long_test
# Run most nested tests for any ic-os/ or rs/ic_os/ changes:
*ic[-_]os/* //rs/tests/nested:guestos_upgrade_smoke_test
//rs/tests/nested:guestos_upgrade_from_latest_release_to_current
//rs/tests/nested:hostos_upgrade_smoke_test
//rs/tests/nested:hostos_upgrade_from_latest_release_to_current
//rs/tests/nested:registration
# Full rejoin test for state sync changes:
*state_sync* //rs/tests/message_routing:rejoin_test
# XNet compatibility test for changes to certifications
*canonical_state/* //rs/tests/message_routing/xnet:xnet_compatibility
rs/nns/cmc/*.rs //rs/tests/nns:nns_cycles_minting_test
*nns_delegation* //rs/tests/networking:nns_delegation_branch_nns_version_test
//rs/tests/networking:nns_delegation_mainnet_nns_version_test
rs/backup/*.rs //rs/tests/consensus/backup/...
rs/orchestrator/*.rs //rs/tests/consensus/orchestrator/...
//rs/tests/consensus/upgrade/...
*guestos-recovery-engine* //rs/tests/consensus:guestos_recovery_engine_smoke_test
//rs/tests/nested/nns_recovery/...
*guestos-recovery-upgrader* //rs/tests/nested/nns_recovery/...
rs/recovery/src/*.rs //rs/tests/consensus/subnet_recovery/...
//rs/tests/consensus:subnet_splitting_test_colocate
//rs/tests/nested/nns_recovery/...
rs/recovery/subnet_splitting/*.rs //rs/tests/consensus:subnet_splitting_test_colocate
rs/bitcoin/* //rs/tests/cross_chain:btc_adapter_basics_test
//rs/tests/cross_chain:doge_adapter_basics_test
//rs/tests/cross_chain:btc_get_balance_test_colocate
rs/dogecoin/ckdoge/* //rs/tests/ckbtc:ckdoge_minter_basics_test
rs/bitcoin/ckbtc/* //rs/tests/ckbtc:ckdoge_minter_basics_test
rs/boundary_node/rate_limits/* //rs/tests/boundary_nodes:rate_limit_canister_test
rs/migration_canister/* //rs/tests/execution:canister_migration_test_head_nns
rs/nns/governance/* //rs/nns/governance:governance_integration_test
//rs/nns/governance:merge_neurons_test
rs/sns/* //rs/sns/integration_tests:neuron_test
rs/ledger_suite/icp/index/* //rs/ledger_suite/icp/index:retrieve_blocks_from_ledger_interval_test
rs/rosetta-api/icrc1/* //rs/rosetta-api/icrc1:ic-icrc-rosetta-unit-tests
rs/rosetta-api/icp/* //rs/rosetta-api/icp:icp_rosetta_system_tests