mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
30 lines
702 B
YAML
30 lines
702 B
YAML
name: Run scaffold
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
types: [synchronize]
|
|
|
|
jobs:
|
|
scaffold:
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
go-version:
|
|
- 1.17.x
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Build hrp binary
|
|
run: make build
|
|
- name: Run start project
|
|
run: ./output/hrp startproject demo
|
|
- name: Run demo tests
|
|
run: ./output/hrp run demo/testcases/demo.json demo/testcases/demo.yaml
|