Commit Graph
125 Commits
Author SHA1 Message Date
Elle Mouton e326e242ff .github: rebase before running itests & unit tests 2024-06-13 08:11:02 -04:00
Elle Mouton 20be40df7b .github: make the rebase step re-usable 2024-06-13 08:11:02 -04:00
Elle Mouton 8b31a37ec9 .github: only fetch the base branch when rebasing
Update the "check commits" action to only fetch the base branch that we
will be rebasing on. Otherwise every upstream branch is fetched.
2024-06-13 08:11:01 -04:00
yyforyongyu 84e58d6f02 workflows: decrease TRANCHES to 8 2024-06-13 17:54:34 +08:00
Oliver Gugger a5c04bbd14 GitHub: increase itest parallelization to 16 tranches 2024-06-04 09:07:34 +02:00
Olaoluwa Osuntokun a585833fb5 build: update release builds and CI to Go 1.22.3 2024-05-09 15:24:19 -07:00
Oliver Gugger 39b7f1c4f4 GitHub: give tag to each cover job 2024-04-23 19:16:56 +02:00
Oliver Gugger 7468eb3416 GitHub: only run cover on some itests, send completion
We only want to run the coverage on some select tests, since we don't
want to make tests with slow backends even slower.
And because we use "parallel: true" when uploading the coverage results,
those will only be assembled once we send "parallel-finished: true"
using the goveralls action.
So we do that with a new "finish" job.
2024-04-23 19:16:56 +02:00
Oliver Gugger 8a5160e1de multi: add test coverage for integration tests 2024-04-23 19:15:33 +02:00
Oliver Gugger 817ddb807b GitHub+scripts: use bitcoind v27.0 2024-04-18 17:44:04 +02:00
Andras Banki-Horvath a7bd9701b1 github: update gRPC pin to v1.59.0 2024-04-09 20:46:11 +02:00
Oliver Gugger 15c7686830 Merge pull request #8554 from yyforyongyu/use-new-errors
lnwallet: use new errors returned from `rpcclient`
2024-03-21 01:42:57 -06:00
yyforyongyu 03afb72918 workflows: remove loggings from unit test
These loggings are not helpful.
2024-03-20 04:40:38 +08:00
Oliver Gugger f6656d1daa Travis+GitHub: replace Travis CI with GitHub MacOS 14 build 2024-03-18 17:08:18 +01:00
Oliver Gugger b4449ab55f GitHub: use bitcoind v26.0 for CI, remove default value
To make it less confusing what version of bitcoind is actually
installed, we now require the version to be specified as a command line
argument.

Because we tag the version in the docker image tag as bitcoin-core:XX
but the binary internally is located under /opt/bitcoin-XX.Y/, we
manually set Y to 0.
2024-03-18 16:13:38 +01:00
Oliver Gugger 05675fa254 GitHub: separate build caches
To avoid build caches getting larger and larger, causing our builds to
fail, we separate the caches of the different job types.
If we don't separate them, then the caches can end up being a
combination of the different jobs, which isn't useful (for example the
build cache of the cross compilation build isn't useful in an
integration test and vice versa).
2024-03-14 11:14:39 +01:00
Andras Banki-Horvath 29ae17ba71 github: add nativesql itests to the matrix 2024-03-01 10:08:10 +01:00
Andras Banki-Horvath 59ce7d9845 github: bump pull-resquest-stats to v2.11.0 2024-01-25 18:08:34 +01:00
Mohamed Awnallah 1402ffd17b protolint: configure protolint and fix the protolinting issues
This PR addresses the following:
- Install and Configure protolint to enforce the protobuf style guide rules in the CI.
- Fix the protolinting issues (package and import ordering) while maintaining the comaptibility.
2024-01-22 22:00:00 +02:00
Oliver Gugger e6fde8bd0c GitHub: bump pinned versions in CI check 2023-10-26 10:25:35 +02:00
Yong ca9cdacd5f github: print debug logs for failed unit tests (#8083) 2023-10-12 12:50:11 +02:00
Oliver Gugger abb1e3463f scripts: kill lnd on windows to access log files (#8076)
For some reason lnd doesn't properly shut down on some windows itests,
and the process still running makes it impossible to access its log
files.
So for the Windows integration test, we attempt to kill the whole
process tree once the process indicates it is done.
2023-10-10 16:15:41 +02:00
Oliver Gugger 3b0d918ea4 GitHub: fix link in release template
Fixes #8055.
This PR fixes a broken link in the release page template.
2023-10-04 09:36:51 +02:00
Peter Todd d5b88dde72 Fix capitalization of OpenTimestamps in release notes 2023-09-21 02:10:14 -04:00
yyforyongyu c568ba9fa2 github+Makefile: add new action make tidy-module-check
This commit adds `tidy-module` and `tidy-module-check` to make sure the
modules are always tidy.
2023-09-06 02:48:13 +08:00
yyforyongyu 5296509474 Makefile+action: add make unit-module to test submodules
This commit adds a new command `make unit-module` to run unit tests for
submodules to avoid future build errors.
2023-09-06 02:47:55 +08:00
Olaoluwa Osuntokun dde1495e1d build: bump Go version to v1.21.0, lnd version to v0.17.0 rc1 (#7914)
* build: update Go version to 1.21.0

* build: bump version to v0.17.0 rc1
2023-08-23 17:33:11 -07:00
feelancer21 8b78c1b9e2 workflows: change step name of sample conf check
We now also check the default values themselves and not just the
existence of the command line flags in the file.
2023-08-03 18:04:25 +02:00
Oliver Gugger bd3f570107 Merge pull request #7807 from lightningnetwork/dependabot/go_modules/google.golang.org/grpc-1.53.0
build(deps): bump google.golang.org/grpc from 1.41.0 to 1.53.0
2023-07-17 14:15:25 +02:00
positiveblue ff1379a633 CI: Add sqlc code generation check 2023-07-10 17:57:09 -07:00
Oliver Gugger 93c4b678be GitHub: bump pinned dependency for grpc 2023-07-10 11:04:14 +02:00
Matt Morehouse acace4d330 github: run fuzz tests with unit tests
We download and extract the fuzzing seed corpora into the LND tree so
that "make unit" automatically runs the fuzz tests on the seeds.
2023-05-19 15:48:11 -05:00
Olaoluwa Osuntokun c0f4defe0b build: update build system to Go 1.20.3 2023-04-05 11:28:34 -07:00
Olaoluwa Osuntokun 0bbbd9b911 build: bump min Go version to 1.19
Fixes https://github.com/lightningnetwork/lnd/issues/7495
2023-03-08 18:02:57 -08:00
yyforyongyu b5fab8232a github: increase parallelism in windows build 2023-02-23 21:56:12 +08:00
yyforyongyu 268be87abe github: refactor github action yaml files
This commit refactors the github action yaml files by putting the common
steps into an action file, and upgrades the tools used.
2023-02-23 21:56:12 +08:00
yyforyongyu 142b00711f itest+github: remove flag temptest
This commit removes flag `temptest` and all its usage, marking the start
of promoting our `lntemp` to be `lntest`!
2023-02-23 21:56:08 +08:00
Oliver Gugger a257e6203d github: fix merge group directive 2023-02-17 11:14:38 +01:00
Olaoluwa Osuntokun aec10481c1 build: use the new merge_group selector for the merge queue
In this commit, we activate the merge queue by using the new merge_group
selector. Without this, the CI won't report back the progress of a CI
run to the merge queue, so things won't get auto merged.
2023-02-16 15:00:20 -08:00
Oliver Gugger 6874582ed4 GitHub: allow skipping itest and changelog check with labels 2023-02-06 14:11:59 +01:00
Chris Geihsler a5eaabf548 multi: add sqlite option to itests and github job 2023-01-25 14:16:56 +02:00
Elle Mouton 2fd4f3f180 go.mod+lnrpc+github: point to latest kvdb changes
Use kvdb package v1.4.1. This update also forced the protobuf version to
be bumped which required `make rpc` to be run to update the generated
files. This also required a bump in the github pinned dependencies
config for the grpc and protobuf libs.
2023-01-25 14:03:00 +02:00
Oliver Gugger 984fc3a2ec GitHub: make setup-go action more versatile
With this commit we allow the Go version that is set up to be
configurable and not dependent on a specific environment variable. This
will allow us to eventually extract the action into a tooling
repository.
2023-01-06 09:18:26 +01:00
Oliver Gugger c4ca7b99e2 GitHub: remove Go env variable override
For some reason we used to override the GOCACHE and GOPATH variables
earlier. This now causes the updated cache action not to pick up any
caches. As the overrides shouldn't be needed anymore, we remove them.
2023-01-06 09:18:16 +01:00
yyforyongyu 3ca7e30199 github: move fmt-check into lint 2022-12-15 16:56:06 +08:00
yyforyongyu 26110beb53 github: upgrade actions/checkout to v3 2022-12-15 16:32:45 +08:00
yyforyongyu 26613a2d46 github: create new action to hold common setup 2022-12-15 16:26:12 +08:00
yyforyongyu 4f9f2f7901 github: update action versions 2022-11-17 21:06:12 +08:00
Elle Mouton 5499ce36fa github+docs: only check commits on PR action 2022-11-04 11:07:19 +02:00
Elle Mouton 5ea99578a8 github: check commits against base branch 2022-11-02 09:08:21 +02:00