Mark stream-only fields as such. #79
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
on: [push, pull_request] | |
name: Code coverage | |
jobs: | |
unit_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@cargo-llvm-cov | |
- name: Generate code coverage | |
run: cargo llvm-cov --all-features --workspace --lib --lcov --output-path lcov.info | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v3.1.0 | |
with: | |
files: lcov.info | |
flags: unit | |
verbose: true | |
fail_ci_if_error: true | |
integration_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@cargo-llvm-cov | |
- name: Generate code coverage | |
run: cargo llvm-cov --all-features --workspace --test '*' --lcov --output-path lcov.info | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v3.1.0 | |
with: | |
files: lcov.info | |
flags: integration | |
verbose: true | |
fail_ci_if_error: true |