From f3e383e96c1069804d7c53b1cbea0d85f85eeb23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Fri, 9 Feb 2024 14:41:52 +0100 Subject: [PATCH] FIX: Try to add simple code coverage --- Makefile | 8 ++++---- README.md | 8 ++++++++ base/README.md | 9 +++++++++ 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ac31afb..ee06cc1 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/README.md b/README.md index ee89a1e..bb978c3 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/base/README.md b/base/README.md index e4ba81d..63dcef0 100644 --- a/base/README.md +++ b/base/README.md @@ -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