Skip to content

docs: add AI automation security documentation and safeguards #1237

docs: add AI automation security documentation and safeguards

docs: add AI automation security documentation and safeguards #1237

Workflow file for this run

name: Go Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.25
- name: Download Go module dependencies
run: go mod download
- name: Run unit tests with coverage
run: go test -v -coverprofile=coverage.out -covermode=atomic ./pkg/...
- name: Run integration tests
run: go test -v -timeout=5m ./integration_test.go ./integration_scenarios_test.go
- name: Generate coverage report
run: go tool cover -html=coverage.out -o coverage.html
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
continue-on-error: true
with:
file: ./coverage.out
flags: unittests
name: codecov-umbrella
- name: Upload coverage artifacts
uses: actions/upload-artifact@v5
if: always()
with:
name: coverage-report
path: |
coverage.out
coverage.html