fix some warnings #5
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
# Copilot generated GitHub Actions workflow for macOS | |
name: Rust Tests and Coverage | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install LLVM tools | |
run: brew install llvm | |
- name: Install cargo-llvm-cov | |
run: cargo install cargo-llvm-cov | |
- name: Run tests with coverage | |
run: cargo llvm-cov --workspace --lcov --output-path ./target/lcov.info | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
files: ./target/lcov.info | |
flags: unittests | |
name: codecov-umbrella | |
fail_ci_if_error: true |