Skip to content

chore: release (#1710) #12

chore: release (#1710)

chore: release (#1710) #12

Workflow file for this run

# Copyright AGNTCY Contributors (https://github.com/agntcy)
# SPDX-License-Identifier: Apache-2.0
---
name: ci-publish-prokect-coverage
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
coverage:
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
working-directory: data-plane
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
workspace: ./data-plane
- name: Install just
run: |
sudo snap install just --classic || true
- name: Install cargo-llvm-cov
run: cargo install cargo-llvm-cov
- name: Setup UV
id: setup-uv
uses: ./.github/actions/setup-python
with:
uv-install: true
- name: Generate data plane coverage report (Rust + Python)
run: task data-plane:coverage-full
- name: Upload combined coverage to Codecov
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
with:
files: data-plane/lcov.info,data-plane/python/bindings/coverage.lcov
flags: rust,python
name: combined-coverage
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}