Skip to content

SOF-7756: code/new mixins #79

SOF-7756: code/new mixins

SOF-7756: code/new mixins #79

Workflow file for this run

name: PR Coverage Report
on:
pull_request:
jobs:
coverage-comment:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests with coverage
run: npm run test:coverage
- name: Comment PR with coverage report
uses: romeovs/lcov-reporter-action@v0.3.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./coverage/lcov.info
delete-old-comments: true
- name: Upload coverage artifacts
uses: actions/upload-artifact@v4
with:
name: coverage-report-pr-${{ github.event.number }}
path: coverage/
retention-days: 7