Disable migration tests on macos on PRs (#9571)

We are a bit short on macos nodes and these tests run > 500s so this
should hopefully make things a bit faster. Not necessarily the full
solution, I think we also want to limit the versions here but this is
at least a start.

changelog_begin
changelog_end
This commit is contained in:
Moritz Kiefer 2021-05-04 17:17:36 +02:00 committed by GitHub
parent 2e93de79a4
commit 800989145b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
load("@os_info//:os_info.bzl", "is_windows")
load("@os_info//:os_info.bzl", "is_linux", "is_windows")
load("//bazel_tools:testing.bzl", "create_daml_app_codegen", "create_daml_app_dar", "daml_lf_compatible", "sdk_platform_test")
load(
"//bazel_tools/daml_script:daml_script.bzl",
@ -132,8 +132,9 @@ migration_test(
# Exclusive due to hardcoded postgres ports.
tags = [
"exclusive",
"head-quick",
],
] +
# These tests are fairly slow so on PRs we only run them on Linux
(["head-quick"] if is_linux else []),
versions = stable_versions,
) if not is_windows else None