daml/compiler/lsp-tests/BUILD.bazel
Gary Verhaegen 1872c668a5
replace DAML Authors with DA in copyright headers (#5228)
Change requested by Manoj.

CHANGELOG_BEGIN
CHANGELOG_END
2020-03-27 01:26:10 +01:00

45 lines
1.1 KiB
Python

# Copyright (c) 2020 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",
],
# See https://github.com/digital-asset/daml/issues/4904.
flaky = is_windows,
hackage_deps = [
"aeson",
"base",
"containers",
"extra",
"directory",
"filepath",
"ghcide",
"haskell-lsp",
"haskell-lsp-types",
"lens",
"lsp-test",
"mtl",
"network-uri",
"parser-combinators",
"process",
"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",
],
)