Fix agent server ( use command context ) #210
Workflow file for this run
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: test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: build kubejob | |
run: | | |
go build -o kubejob ./cmd/kubejob | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: setup kind | |
run: | | |
make deploy | |
- name: wait for available | |
run: | | |
make wait | |
- name: Run test | |
run: | | |
timeout 600 make test | |
- uses: codecov/codecov-action@v2 | |
with: | |
fail_ci_if_error: true | |
verbose: true |