FIX: Try to add simple code coverage

This commit is contained in:
Nicolás Hatcher
2024-02-09 14:41:52 +01:00
parent ba56e13ead
commit f3e383e96c
3 changed files with 21 additions and 4 deletions

View File

@@ -12,13 +12,13 @@ clean:
cargo clean
rm -r -f base/target
rm -r -f xlsx/target
rm cargo-test-*
rm base/cargo-test-*
rm xlsx/cargo-test-*
rm -f cargo-test-*
rm -f base/cargo-test-*
rm -f xlsx/cargo-test-*
coverage:
CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='cargo-test-%p-%m.profraw' cargo test
CARGO_INCREMENTAL=0 RUSTFLAGS='-C instrument-coverage' LLVM_PROFILE_FILE='cargo-test-%p-%m.profraw' cargo test
grcov . --binary-path ./target/debug/deps/ -s . -t html --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/html
docs:

View File

@@ -1,5 +1,13 @@
# 📚 IronCalc
[![MIT licensed][mit-badge]][mit-url]
[![Build Status][actions-badge]][actions-url]
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
[mit-url]: https://github.com/ironcalc/ironcalc/blob/master/LICENSE
[actions-badge]: https://github.com/ironcalc/ironcalc/actions/workflows/rust-build-test.yaml/badge.svg
[actions-url]: https://github.com/ironcalc/ironcalc/actions?query=workflow%3ACI+branch%3Amaster
IronCalc is a new, modern, work-in-progress spreadsheet engine and set of tools to work with spreadsheets in diverse settings.
This repository contains the main engine and the xlsx reader and writer.

View File

@@ -1,5 +1,14 @@
# IronCalc Base
[![Crates.io][crates-badge]][crates-url]
[![MIT licensed][mit-badge]][mit-url]
[crates-badge]: https://img.shields.io/crates/v/ironcalc_base.svg
[crates-url]: https://crates.io/crates/ironcalc_base
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
[mit-url]: https://github.com/ironcalc/ironcalc/blob/master/LICENSE
## About
IronCalc Base is the engine of the IronCalc ecosystem