docs: update readmes in python examples #1627
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Project Coverage to Codecov | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: data-plane | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - 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: Generate control-plane coverage reports | |
| run: task control-plane:coverage | |
| working-directory: control-plane | |
| - name: Upload combined coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| files: data-plane/lcov.info,data-plane/python/bindings/coverage.lcov,control-plane/*-coverage.out | |
| flags: rust,python,go | |
| name: combined-coverage | |
| fail_ci_if_error: true | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |