add feature test github action support #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: | |
push: | |
branches: [ "2024-update" ] | |
pull_request: | |
branches: [ "feature" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22' | |
- name: Show go version | |
run: go version | |
- name: Run single feature test | |
run: go run app/up/*.go ngo task -d ./tests/functests -t feature-demo.yml -i dev --configdir=./tests/functests | |
- name: Run individual feature request test | |
run: | | |
. ./funcs.rc | |
uptestx c0001 | |