Skip to content

Add Plan: read-only dry run for skills status (#26) #63

Add Plan: read-only dry run for skills status (#26)

Add Plan: read-only dry run for skills status (#26) #63

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v7
with:
path: skillinject
- name: Checkout web4 (sibling protocol repo)
uses: actions/checkout@v7
with:
repository: pilot-protocol/pilotprotocol
path: web4
- uses: actions/setup-go@v6
with:
go-version: '1.25'
cache: true
cache-dependency-path: skillinject/go.sum
- name: Run tests with coverage
working-directory: skillinject
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v7
with:
files: ./skillinject/coverage.out
flags: unittests
name: skillinject
fail_ci_if_error: false
- name: Coverage summary
working-directory: skillinject
run: go tool cover -func=coverage.out | tail -20
- uses: actions/upload-artifact@v7
with:
name: coverage-skillinject
path: skillinject/coverage.out
retention-days: 30