renamed file

This commit is contained in:
Palash Tyagi
2025-04-19 02:17:12 +01:00
parent 6b6121fcdc
commit 66f320aafb

33
.github/workflows/run-unit-tests.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: run-unit-tests
on:
pull_request:
branches:
- main
jobs:
run-unit-tests:
name: run-unit-tests
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}