diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index 8ad4b02f..5518a6d2 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -31,4 +31,7 @@ jobs: run: npm install -g @angular/cli - name: Generic (dev) build - run: make build \ No newline at end of file + run: make build + + - name: Test service + run: make test-backend \ No newline at end of file diff --git a/Makefile b/Makefile index 05e02f76..a6fc9fed 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ run: build build: build_ui_dev build_service +test-backend: + cd service/web && go test ./test/ && cd - + build_ui_dev: cd ui/pi-web-agent-app && npm i && ng build --base-href / && cd - cp -r ui/pi-web-agent-app/dist/pi-web-agent-app service/web/assets/