added query to check if delegate is registered #2037
This file contains 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
# From: https://github.com/codecov/example-rust/blob/main/.github/workflows/rust.yml | |
name: Coverage | |
on: | |
- push | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
tool-cache: false | |
android: true | |
dotnet: true | |
haskell: true | |
large-packages: false | |
docker-images: true | |
swap-storage: true | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: llvm-tools-preview | |
- name: cargo install cargo-llvm-cov | |
run: cargo install cargo-llvm-cov | |
- name: cargo llvm-cov | |
run: cargo llvm-cov --workspace --lcov --output-path lcov.info | |
- name: Codecov | |
# You may pin to the exact commit or the version. | |
# uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 | |
uses: codecov/codecov-action@v3 | |
with: | |
# Repository upload token - get it from codecov.io. | |
token: ${{ secrets.CODECOV_TOKEN }} | |
# Specify whether the Codecov output should be verbose | |
verbose: true | |
fail_ci_if_error: true |