Run macos tests if we're collecting coverage

Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
William Woodruff
2026-06-12 11:41:33 -04:00
parent feced859a2
commit 3810caaa36
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ jobs:
[[ ! $has_skip_label ]] && test_ecosystem=1
[[ $has_integration_label || $has_extended_label || $on_main_branch || $integration_changed ]] && test_integration=1
[[ $has_system_label || $has_extended_label || $on_main_branch || $system_workflow_changed || $system_test_changed ]] && test_system=1
[[ $has_macos_label || $has_extended_label || $on_main_branch || $build_release_binaries ]] && test_macos=1
[[ $has_macos_label || $has_extended_label || $collect_coverage || $build_release_binaries ]] && test_macos=1
[[ ! $has_build_skip_label && ! $has_build_skip_docker_label && ($docker_build_changed || $has_build_push_docker_label) ]] && build_docker=1
[[ $has_build_push_docker_label ]] && push_docker=1
+1 -2
View File
@@ -167,8 +167,7 @@ jobs:
cargo-test-macos:
timeout-minutes: ${{ inputs.collect-coverage == 'true' && 30 || 20 }}
# Only run macOS tests on main without opt-in
if: ${{ inputs.test-macos == 'true' || inputs.collect-coverage == 'true' }}
if: ${{ inputs.test-macos == 'true' }}
runs-on: depot-macos-15
name: "cargo test on macos"
steps: