Skip to content

update code coversage script to work better with windows#8141

Merged
sholderbach merged 1 commit intonushell:mainfrom
fdncred:update_coverage_script
Feb 20, 2023
Merged

update code coversage script to work better with windows#8141
sholderbach merged 1 commit intonushell:mainfrom
fdncred:update_coverage_script

Conversation

@fdncred
Copy link
Copy Markdown
Contributor

@fdncred fdncred commented Feb 20, 2023

Description

This PR updates the code coverage script to help it work better on Windows. The main changes here are to give you some progress outputs and to enable cargo llvm-cov show-env | from toml to work better since the toml spec says these literal strings should be single quoted vs double quoted.

Closed #8139

User-Facing Changes

Tests + Formatting

Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

  • cargo fmt --all -- --check to check standard code formatting (cargo fmt --all applies these changes)
  • cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect to check that you're using the standard code style
  • cargo test --workspace to check that all tests pass

After Submitting

If your PR had any user-facing changes, update the documentation after the PR is merged, if necessary. This will help us keep the docs up to date.

Copy link
Copy Markdown
Member

@sholderbach sholderbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 20, 2023

Codecov Report

Merging #8141 (e352c26) into main (b9be416) will decrease coverage by 0.39%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8141      +/-   ##
==========================================
- Coverage   54.61%   54.23%   -0.39%     
==========================================
  Files         608      608              
  Lines       99005    99009       +4     
==========================================
- Hits        54070    53695     -375     
- Misses      44935    45314     +379     
Impacted Files Coverage Δ
crates/nu-color-config/src/nu_style.rs 9.31% <0.00%> (-70.92%) ⬇️
crates/nu-command/src/filesystem/touch.rs 63.73% <0.00%> (-1.04%) ⬇️
crates/nu_plugin_formats/src/lib.rs 0.00% <0.00%> (ø)

@sholderbach sholderbach added this pull request to the merge queue Feb 20, 2023
Merged via the queue into nushell:main with commit d17c970 Feb 20, 2023
@fdncred fdncred deleted the update_coverage_script branch February 20, 2023 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

from toml works differently on Windows than Linux

2 participants