diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 21d9f97..e4e8d8e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,7 +7,7 @@ on: pull_request: jobs: - build: + test: runs-on: ubuntu-latest strategy: matrix: diff --git a/makefile b/makefile index b56368e..e349a19 100644 --- a/makefile +++ b/makefile @@ -30,6 +30,9 @@ grpc-client: install download @echo Generating Proto Sources @echo $(OUTPUT) @mkdir -p $(OUTPUT) + # protoc doesn't create the __init__.py for the nitric module, so we need to create it. + @mkdir -p $(OUTPUT)/nitric/ + @touch $(OUTPUT)/nitric/__init.py__ @python3 -m grpc_tools.protoc -I $(CONTRACTS) --python_betterproto_out=$(OUTPUT) ./contracts/proto/*/*/*.proto diff --git a/nitric/proto/nitric/__init.py__ b/nitric/proto/nitric/__init.py__ new file mode 100644 index 0000000..e69de29