daml/compiler/lsp-tests/BUILD.bazel
Gary Verhaegen 151e12b81a
bump copyright (#16002)
This is the result of:

- Updating `./COPY` to say `2023`.
- Running `./dev-env/bin/dade-copyright-headers update .`
2023-01-04 18:21:15 +01:00

47 lines
1.2 KiB
Python

# 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 = [
"//:sdk-version-hs-lib",
"//compiler/damlc/daml-ide-core",
"//libs-haskell/bazel-runfiles",
"//libs-haskell/test-utils",
"@ghcide_ghc_lib//:testing",
],
)