mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 08:59:44 +08:00
refactor: hrp build
This commit is contained in:
6
.github/workflows/hrp-scaffold.yml
vendored
6
.github/workflows/hrp-scaffold.yml
vendored
@@ -58,15 +58,17 @@ jobs:
|
||||
run: make build
|
||||
- name: Run start project
|
||||
run: ./output/hrp startproject demo --go
|
||||
- name: Build plugin
|
||||
run: ./output/hrp build -o demo/debugtalk.bin demo/plugin/debugtalk.go
|
||||
- name: Run generated demo tests
|
||||
run: ./output/hrp run demo/testcases/
|
||||
- name: Run API test demo in examples
|
||||
run: |
|
||||
go build -o examples/demo-with-go-plugin/debugtalk.bin examples/demo-with-go-plugin/plugin/debugtalk.go
|
||||
./output/hrp build -o examples/demo-with-go-plugin/debugtalk.bin examples/demo-with-go-plugin/plugin/debugtalk.go
|
||||
./output/hrp run examples/demo-with-go-plugin/testcases/demo.json
|
||||
- name: Run load test demo in examples
|
||||
run: |
|
||||
go build -o examples/demo-with-go-plugin/debugtalk.bin examples/demo-with-go-plugin/plugin/debugtalk.go
|
||||
./output/hrp build -o examples/demo-with-go-plugin/debugtalk.bin examples/demo-with-go-plugin/plugin/debugtalk.go
|
||||
./output/hrp boom examples/demo-with-go-plugin/testcases/demo.json --spawn-count 10 --spawn-rate 10 --loop-count 10
|
||||
|
||||
scaffold-without-custom-plugin:
|
||||
|
||||
Reference in New Issue
Block a user