Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,28 @@ on:
- main

jobs:
python-test:
name: Python tests
runs-on: ubuntu-22.04
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
submodules: 'true'

- name: Get Python modules
run: |
python3 -m pip install --upgrade pip
python3 -m pip install pycodestyle mypy

- name: Check code style
run: |
python3 -m pycodestyle ./lglpy

- name: Check typing
run: |
python3 -m mypy ./lglpy

build-ubuntu-x64-clang:
name: Ubuntu x64 Clang
runs-on: ubuntu-22.04
Expand Down
8 changes: 5 additions & 3 deletions lgl_host_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ def main():

# Register all the services with it
print(f'Registering host services:')
service = lglpy.service_test.TestService()
endpoint_id = server.register_endpoint(service)
print(f' - [{endpoint_id}] = {service.get_service_name()}')

if 0:
service = lglpy.service_test.TestService()
endpoint_id = server.register_endpoint(service)
print(f' - [{endpoint_id}] = {service.get_service_name()}')

service = lglpy.service_log.LogService()
endpoint_id = server.register_endpoint(service)
Expand Down
Loading