Skip to content

Fix unit tests failing because of spaces in the Insiders workflow #14306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Oct 8, 2020

Conversation

kimadeline
Copy link

@kimadeline kimadeline commented Oct 7, 2020

For #14294

Had to fix the coverage upload step as well.

See https://github.com/kimadeline/vscode-python/actions/runs/294134434:
image

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated.
  • Test plan is updated as appropriate.
  • package-lock.json has been regenerated by running npm install (if dependencies have changed).
  • The wiki is updated with any design decisions/details.

@kimadeline kimadeline added the no-changelog No news entry required label Oct 7, 2020
@kimadeline kimadeline marked this pull request as ready for review October 7, 2020 20:48
Copy link

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

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

LGTM

@kimadeline
Copy link
Author

Closing and reopening because I opened this PR during the cursed time frame, and no status checks were reported.

@kimadeline kimadeline closed this Oct 8, 2020
@kimadeline kimadeline reopened this Oct 8, 2020
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 8, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov-io
Copy link

Codecov Report

Merging #14306 into main will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #14306      +/-   ##
==========================================
- Coverage   59.91%   59.89%   -0.03%     
==========================================
  Files         709      709              
  Lines       39334    39334              
  Branches     5698     5698              
==========================================
- Hits        23567    23558       -9     
- Misses      14529    14535       +6     
- Partials     1238     1241       +3     
Impacted Files Coverage Δ
...very/locators/services/virtualenvwrapperLocator.ts 76.92% <0.00%> (-15.39%) ⬇️
src/client/common/utils/platform.ts 60.00% <0.00%> (-12.00%) ⬇️
.../pythonEnvironments/common/externalDependencies.ts 64.10% <0.00%> (-2.57%) ⬇️
src/client/linters/pydocstyle.ts 86.66% <0.00%> (-2.23%) ⬇️
src/client/datascience/debugLocationTracker.ts 76.56% <0.00%> (-1.57%) ⬇️
src/client/common/process/proc.ts 14.49% <0.00%> (-0.73%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4659f46...328e4f9. Read the comment docs.

@kimadeline kimadeline merged commit 260adf6 into microsoft:main Oct 8, 2020
@kimadeline kimadeline deleted the 14294-unit-tests-spaces branch October 8, 2020 19:45
luabud pushed a commit to luabud/vscode-python that referenced this pull request Oct 26, 2020
…crosoft#14306)

* Add .fileToCommandArgument()
* Add custom workflow to test with spaces
* Use toCommandArgument instead of fileToCommandArgument
* Fix upload coverage step
* $$$$$
* Delete test workflow
* Update upload coverage step
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog No news entry required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants