Files
lndhub.go/.github/workflows/integration_tests.yaml
kiwiidb 1ae5df6b8c Feature: integration testing
Add integration tests with testify/suite. Moved some structs
outside of controller funcs so we can re-use them in the testing
package. Add CI workflow for running tests on every push.
2022-02-01 11:47:11 +01:00

18 lines
506 B
YAML

name: Integration tests
on: push
jobs:
test:
strategy:
matrix:
go-version: [ 1.16.x ]
platform: [ ubuntu-latest ]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Run tests
run: go test -v -cover -coverpkg=./... ./integration_tests