diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bd8314f..5044cab 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -26,8 +26,6 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install run: make install - - name: Generate gRPC Client - run: make grpc-client - name: Run Tox # Run tox using the version of Python in `PATH` run: tox -e py diff --git a/makefile b/makefile index ca15143..1b1e868 100644 --- a/makefile +++ b/makefile @@ -3,17 +3,8 @@ install: @pip3 install -e .[dev] @pre-commit install -OUTPUT="./nitric/proto" -CONTRACTS="./contracts/proto" - .PHONY: docs clean license -grpc-client: - @echo Generating Proto Sources - @echo $(OUTPUT) - @mkdir -p $(OUTPUT) - @python3 -m grpc_tools.protoc -I $(CONTRACTS) --python_betterproto_out=$(OUTPUT) ./contracts/proto/**/**/*.proto - docs: @echo Generating SDK Documentation @pdoc3 -f --html -o docs nitric @@ -30,7 +21,7 @@ license: @licenseheaders -t tools/apache-2.tmpl -o "Nitric Technologies Pty Ltd" -y 2021 -n "Nitric Python 3 SDK" -u "https://github.com/nitrictech/python-sdk" -d tests @licenseheaders -t tools/apache-2.tmpl -o "Nitric Technologies Pty Ltd" -y 2021 -n "Nitric Python 3 SDK" -u "https://github.com/nitrictech/python-sdk" -d tools -build: clean install grpc-client license docs +build: clean install license docs @echo Building sdist and wheel @python3 setup.py sdist bdist_wheel