daml/compiler/lsp-tests/BUILD.bazel
Moisés Ackerman 89cdb8d8a0
Haskell SdkVersion inversion (#18066)
* Remove //:sdk-version-hs-lib

* Add //sdk-version/hs:sdk-version-{class-,}lib

* Use //sdk-version/hs:sdk-version-{class-,}lib instead of //:sdk-version-hs-lib

* Fix //daml-assistant/daml-helper:test-deployment

* Fix da-hs-base.cabal

* Fix daml-project-config.cabal

* Move DA.Service.Logger.Impl.GCP out of da-hs-base

This means that da-hs-base no longer depends on sdk-version-class-lib, so users of the cabal file don't need to make any changes

* Move version data types out of daml-project-config

* Now //sdk-version/hs:sdk-version-class-lib depends on //libs-haskell/da-version-types

* back to the past (fmt.sh)

* yarn.lock changes to appease fmt.sh
2024-01-09 10:24:31 +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 = [
"//compiler/damlc/daml-ide-core",
"//libs-haskell/bazel-runfiles",
"//libs-haskell/test-utils",
"//sdk-version/hs:sdk-version-lib",
"@ghcide_ghc_lib//:testing",
],
)