Closed 2opremio closed 1 year ago
you can run tests with changes locally including the local soroban-tools working copy, by building and running almost the same format as the e2e in tools gha runs:
system-test$ docker build --platform linux/amd64 --no-cache -t stellar/system-test -f Dockerfile .
system-test$ docker run --platform linux/amd64 -t --rm -v /your/path/to/soroban-tools:/soroban-tools stellar/system-test:latest --SorobanCLISourceVolume "/soroban-tools" --SorobanRPCSourceVolume "/soroban-tools" --SorobanExamplesGitHash "main" --SorobanExamplesRepoURL "https://github.com/stellar/soroban-examples.git" --RustToolchainVersion "1.66.0" --CoreDebianVersion "19.6.1-1158.c0ad35aa1.focal~soroban" --HorizonDebianVersion "2.22.0~soroban-322" --TestFilter "^TestDappDevelop$/^.*$" --VerboseOutput true
@sreuland PTAL, it seems to work (at least the test starts)
After https://github.com/stellar/soroban-tools/pull/269, the rust preflight library needs to be compiled before compiling the Go code.
Thus, I resorted to: