mirror of
https://github.com/astral-sh/uv
synced 2026-06-21 13:47:25 +00:00
Run macos tests if we're collecting coverage
Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user