diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index d79ad4f06..e6abd4bcb 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -16,6 +16,7 @@ on: jobs: build_wheels_pypitest: + if: ${{ github.event.inputs.release-testpypi }} == "true" name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} if: ${{ inputs.release-testpypi }} @@ -84,6 +85,7 @@ jobs: repository_url: https://test.pypi.org/legacy/ build_wheels: + if: ${{ github.event.inputs.release }} == "true" name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} if: ${{ inputs.release }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e14d8035b..242d15748 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -115,6 +115,8 @@ jobs: # ref https://github.com/pypa/setuptools/issues/3198 pip install -e . python -m unittest discover -s src/PY/test + - if: matrix.python-version == '3.8' + run : | pip install -r plugins/PY/requirements.txt python -m unittest discover -s plugins/PY/pinpointPy Collector-agent: @@ -137,5 +139,7 @@ jobs: uses: arduino/setup-protoc@v2.1.0 - run: | + export GO_PATH=~/go + export PATH=$PATH:/$GO_PATH/bin go install google.golang.org/protobuf/cmd/protoc-gen-go@latest && go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest cd collector-agent && make && go test ./... -v \ No newline at end of file