Skip to content

Commit ee14c94

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 3cbc708 + 3d82dd3 commit ee14c94

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
@@ -58,3 +58,4 @@ jobs:
5858
TOPIC_FILES: ${{ steps.topics.outputs.changed }}
5959
COLLECTION_FILES: ${{ steps.collections.outputs.changed }}
6060
TEST_ALL_FILES: ${{ steps.all.outputs.changed }}
61+
SKIP_COLLECTION_API_CHECKS: ${{ matrix.test_type == 'all' && '1' || '' }}

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)