daml/compiler/lsp-tests/BUILD.bazel

47 lines
1.2 KiB
Python
Raw Normal View History

# Copyright (c) 2023 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
load("//bazel_tools:haskell.bzl", "da_haskell_binary", "da_haskell_test")
load("@os_info//:os_info.bzl", "is_windows")
da_haskell_test(
name = "lsp-tests",
timeout = "long",
srcs = glob(["src/**/*.hs"]),
data = [
"//compiler/damlc",
"//daml-script/daml:daml-script.dar",
],
# TODO (MK) https://github.com/digital-asset/daml/issues/11873
flaky = True,
hackage_deps = [
"aeson",
"base",
"containers",
"extra",
"directory",
"filepath",
"ghcide",
"lsp",
"lsp-types",
"lens",
"lsp-test",
"mtl",
"network-uri",
"parser-combinators",
"process",
"regex-tdfa",
"tasty",
"tasty-hunit",
"text",
],
visibility = ["//visibility:public"],
deps = [
"//compiler/damlc/daml-ide-core",
"//libs-haskell/bazel-runfiles",
"//libs-haskell/test-utils",
"//sdk-version/hs:sdk-version-lib",
"@ghcide_ghc_lib//:testing",
],
)