[api] Use username as field name instead of user #1464 (#1466) #565
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
name: coverage | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- agdb/** | |
- agdb_derive/** | |
- agdb_server/** | |
- .github/workflows/coverage.yaml | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- uses: taiki-e/install-action@cargo-llvm-cov | |
- run: rustup component add llvm-tools-preview | |
- run: cargo llvm-cov --package agdb --package agdb_server --all-features --ignore-filename-regex "agdb(_derive|_benchmarks)|api.rs" --lcov --output-path lcov.info | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: lcov.info |