Skip to content

chore(deps): bump opentelemetry_sdk from 0.20.0 to 0.23.0 #513

chore(deps): bump opentelemetry_sdk from 0.20.0 to 0.23.0

chore(deps): bump opentelemetry_sdk from 0.20.0 to 0.23.0 #513

Workflow file for this run

name: ☂ Code Coverage
on:
push:
branches: [ main ]
pull_request:
branches: [ '**' ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout Repository
uses: actions/checkout@v4
- name: Start Docker Compose Services
run: docker-compose up -d
- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
override: true
toolchain: nightly
components: llvm-tools-preview
- name: Cache Project
uses: Swatinem/rust-cache@v2
- name: Generate Code coverage
env:
CARGO_INCREMENTAL: '0'
LLVM_PROFILE_FILE: "fission-server-%p-%m.profraw"
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off'
# Disable doctest compilation due to https://github.com/rust-lang/rust/issues/95825
run: cargo test --all-features --lib --tests
- name: Install grcov
run: "curl -L https://github.com/mozilla/grcov/releases/download/v0.8.12/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf -"
- name: Run grcov
run: "./grcov . --llvm --binary-path target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o lcov.info"
- name: Install covfix
uses: actions-rs/install@v0.1
with:
crate: rust-covfix
use-tool-cache: true
- name: Run covfix
run: rust-covfix lcov.info -o lcov.info --verbose
- name: Upload to codecov.io
uses: codecov/codecov-action@v4
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
files: lcov.info
- name: Stop Docker Compose Services
run: docker-compose down