daml/compatibility/assistant/BUILD
Moritz Kiefer 90180eb87f
Make sure we don’t start leaking directories in compat tests (#9759)
As evidenced by this change, we don’t actually need the safeguard
here. i think this was just copied over from the main workspace where
we did leak installations. I’d like to know when we start leaking
installations here in the future so this PR removes the catch.

changelog_begin
changelog_end
2021-05-20 13:59:11 +00:00

42 lines
1.1 KiB
Python

# Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
load("@daml//bazel_tools:haskell.bzl", "da_haskell_test")
da_haskell_test(
name = "assistant-platform-version",
srcs = glob(["src/**/*.hs"]),
data = [
"@daml-sdk-tarball-latest-stable//file:downloaded",
"@head_sdk//:sdk-release-tarball-ce.tar.gz",
],
hackage_deps = [
"base",
"tar-conduit",
"conduit",
"conduit-extra",
"text",
"filepath",
"directory",
"extra",
"process",
"typed-process",
"tasty",
"tasty-hunit",
"utf8-string",
"stm",
],
main_function = "DA.Test.PlatformVersion.main",
tags = [
"exclusive",
"head-quick",
],
visibility = ["//visibility:public"],
deps = [
"//bazel_tools:versions-hs-lib",
"//bazel_tools/daml_ledger:sandbox-helper",
"//bazel_tools/test_utils",
"@rules_haskell//tools/runfiles",
],
)