diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..afd0ad4 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +# Go tests for agentbbs. agentbbs is a Go project (see go.mod); this runs the +# package tests on pull requests and pushes to main. Build/vet live in ci.yml. +name: test + +on: + pull_request: + push: + branches: [main, master] + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v5 + with: + go-version: '1.26' + cache: true + + - run: go test ./...