mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
d93b7b2513
* Factor out generic types from migration tests This PR factors out `Event` and `Transaction` so we can reuse them for different tests. To make that work we simply remove the type parameter from ContractId which didn’t help much anyway and store the undecoded JSON value in the constructors. The use sites are basically unchanged thanks to pattern synonyms which match the old constructors. changelog_begin changelog_end * Explain missing package id changelog_begin changelog_end |
||
---|---|---|
.. | ||
bazel_tools | ||
head_sdk | ||
sandbox-migration | ||
versions | ||
.bazelignore | ||
bazel-haskell-deps.bzl | ||
BUILD | ||
build-release-artifacts-windows.ps1 | ||
build-release-artifacts.sh | ||
build-ts-libs.sh | ||
deps.bzl | ||
maven_install.json | ||
README.md | ||
stack-snapshot.yaml | ||
test-windows.ps1 | ||
test.sh | ||
update-versions.sh | ||
versions.bzl | ||
WORKSPACE | ||
workspace_status.sh |
This directory contains the infrastructure and test setup for cross-version compatibility testing. We make this a separate Bazel workspace to make it easier to enforce that we only depend on release artifacts.
How to
Before using this, make sure to always run the scripts that build the
SDK, namely ./build-release-artifacts.sh
and ./build-ts-libs.sh
.
These should be run every time there is a relevant change you want
to be there for this workspace to use.
Any Bazel command can then be used afterwards. ./test.sh
are the
tests run on CI.