Skip to content

Commit

Permalink
feat(py): flask plugins pinpoint-apm#538 (pinpoint-apm#539)
Browse files Browse the repository at this point in the history
- remove cmake
- rename pinpintPy
- add testcase for plugins
- support macos
- add gz for build faster

 close pinpoint-apm#538
  • Loading branch information
eeliu committed Oct 23, 2023
1 parent 02b8c7d commit aee4d9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit aee4d9e

Please sign in to comment.