Skip to content

Commit

Permalink
[v2-10-test] Only run ARM collection tests in main branch (apache#45068
Browse files Browse the repository at this point in the history
…) (apache#45076)

The ARM collection tests are testing if all tests can be properly
collected when packages not available on ARM are removed. We currently
do not have such packages, but since this is only valid for providers
and in version branches we never touch providers, we should just
skip the test on non-main branch.
(cherry picked from commit d1245cd)
  • Loading branch information
potiuk authored Dec 19, 2024
1 parent e7990fe commit ef012cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ jobs:
needs.build-info.outputs.upgrade-to-newer-dependencies != 'false' ||
needs.build-info.outputs.full-tests-needed == 'true')
with:
default-branch: ${{ needs.build-info.outputs.default-branch }}
runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}
image-tag: ${{ needs.build-info.outputs.image-tag }}
parallel-test-types-list-as-string: ${{ needs.build-info.outputs.parallel-test-types-list-as-string }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/special-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ on: # yamllint disable-line rule:truthy
description: "The array of labels (in json form) determining default runner used for the build."
required: true
type: string
default-branch:
description: "The default branch for the repository"
required: true
type: string
image-tag:
description: "Tag to set for the image"
required: true
Expand Down Expand Up @@ -257,6 +261,7 @@ jobs:
include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}
run-coverage: ${{ inputs.run-coverage }}
debug-resources: ${{ inputs.debug-resources }}
if: ${{ inputs.default-branch == 'main' }}

tests-system:
name: "System test"
Expand Down

0 comments on commit ef012cf

Please sign in to comment.