Skip to content

Commit

Permalink
run unit tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Aug 12, 2023
1 parent be192ee commit d2f3d2d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,14 @@ 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: Test
run: go test -short ./...

4 changes: 4 additions & 0 deletions itest/lspd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ import (
var defaultTimeout time.Duration = time.Second * 120

func TestLspd(t *testing.T) {
if testing.Short() {
t.Skip()
return
}
testCases := allTestCases
runTests(t, testCases, "LND-lspd", lndLspFunc, lndClientFunc)
runTests(t, testCases, "CLN-lspd", clnLspFunc, clnClientFunc)
Expand Down

0 comments on commit d2f3d2d

Please sign in to comment.