daml/compiler/lsp-tests/BUILD.bazel
2019-12-11 14:10:48 +00:00

43 lines
1.0 KiB
Python

# Copyright (c) 2019 The DAML Authors. 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",
],
# Marked flaky since the hDuplicateTo call seems to fail sometimes.
flaky = True,
hackage_deps = [
"aeson",
"base",
"containers",
"extra",
"directory",
"filepath",
"ghcide",
"haskell-lsp",
"haskell-lsp-types",
"lens",
"lsp-test",
"mtl",
"network-uri",
"parser-combinators",
"tasty",
"tasty-hunit",
"text",
],
visibility = ["//visibility:public"],
deps = [
"//compiler/damlc/daml-ide-core",
"//libs-haskell/bazel-runfiles",
"//libs-haskell/test-utils",
"@ghcide_ghc_lib//:testing",
],
)