Skip to content

Commit c81d747

Browse files
authored
Merge pull request #5044 from github/skip-collection-api-in-test-all
Skip collection API checks in test (all) job
2 parents 780d24a + 7426dc3 commit c81d747

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,6 @@ jobs:
6969
TOPIC_FILES: ${{ steps.topics.outputs.changed }}
7070
COLLECTION_FILES: ${{ steps.collections.outputs.changed }}
7171
TEST_ALL_FILES: ${{ steps.all.outputs.changed }}
72+
SKIP_COLLECTION_API_CHECKS: ${{ matrix.test_type == 'all' && '1' || '' }}
7273
COLLECTION_SHARD: ${{ matrix.shard }}
7374
COLLECTION_TOTAL_SHARDS: ${{ matrix.total_shards }}

test/collections_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@
137137
end
138138

139139
it "fails if a user, organization, or repository has been renamed or removed" do
140+
if ENV["SKIP_COLLECTION_API_CHECKS"]
141+
skip "Skipping collection API checks (rename detection handled by collections-renames workflow)"
142+
end
143+
140144
errors = []
141145
repos_to_check = []
142146
users_to_check = []

0 commit comments

Comments
 (0)