run unit tests in CI

This commit is contained in:
Jesse de Wit
2023-08-12 21:23:16 +02:00
parent b406d8ea53
commit ecd98d0975
3 changed files with 22 additions and 1 deletions

View File

@@ -163,3 +163,20 @@ jobs:
CLIENT_REF: ${{ env.CLIENT_REF }}
GO_VERSION: ${{ env.GO_VERSION }}
CLN_VERSION: ${{ env.CLN_VERSION }}
run-unit-tests:
runs-on: ubuntu-22.04
name: Run unit tests
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get dependencies
run: |
go get github.com/breez/lspd
go get github.com/breez/lspd/cln_plugin
go get github.com/breez/lspd/itest
- name: Test
run: go test -short `go list ./... | grep -v /itest`