Skip to content

feat(agent/ci): add coverage tracking step to agent ci workflow #7

feat(agent/ci): add coverage tracking step to agent ci workflow

feat(agent/ci): add coverage tracking step to agent ci workflow #7

Workflow file for this run

name: Agent Unittest
on:
pull_request:
paths:
- agent/**
jobs:
test:
name: Run tests & display coverage
runs-on: ubuntu-latest
permissions:
contents: read
issues: read
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Install everything, run the tests, produce the .coverage file and coverage.xml report
run: |
cd agent
make test
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
agent/coverage.xml