Skip to content
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

fix: use path.join instead of forward slashes to support Windows #491

Merged
merged 3 commits into from
Aug 16, 2024

Conversation

jeromy-cannon
Copy link
Contributor

Description

This pull request changes the following:

  • use path.join instead of forward slashes to support Windows

Related Issues

Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

# Conflicts:
#	src/core/profile_manager.mjs
#	test/unit/core/profile_manager.test.mjs
Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
Copy link
Contributor

Unit Test Results - Linux

  1 files   19 suites   46s ⏱️
124 tests 124 ✅ 0 💤 0 ❌
150 runs  150 ✅ 0 💤 0 ❌

Results for commit 0fc9e9d.

Copy link
Contributor

Unit Test Results - Windows

  1 files   19 suites   1m 32s ⏱️
124 tests 124 ✅ 0 💤 0 ❌
150 runs  150 ✅ 0 💤 0 ❌

Results for commit 0fc9e9d.

Copy link
Contributor

E2E Node PEM Stop Tests Coverage Report

12 tests   12 ✅  2m 37s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 0fc9e9d.

Copy link
Contributor

E2E Relay Tests Coverage Report

1 files  1 suites   2m 40s ⏱️
5 tests 5 ✅ 0 💤 0 ❌
6 runs  6 ✅ 0 💤 0 ❌

Results for commit 0fc9e9d.

Copy link
Contributor

E2E Node PFX Kill Tests Coverage Report

12 tests   12 ✅  2m 48s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 0fc9e9d.

@jeromy-cannon jeromy-cannon marked this pull request as ready for review August 16, 2024 13:23
@jeromy-cannon jeromy-cannon requested review from leninmehedy and a team as code owners August 16, 2024 13:23
Copy link
Contributor

E2E Tests Coverage Report

59 tests   59 ✅  4m 6s ⏱️
 9 suites   0 💤
 1 files     0 ❌

Results for commit 0fc9e9d.

Copy link
Contributor

E2E Node Local Build Tests Coverage Report

8 tests   8 ✅  2m 43s ⏱️
2 suites  0 💤
1 files    0 ❌

Results for commit 0fc9e9d.

Copy link
Contributor

E2E Node Add Tests Coverage Report

9 tests   9 ✅  6m 17s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit 0fc9e9d.

Copy link
Contributor

E2E Mirror Node Tests Coverage Report

 1 files   1 suites   3m 42s ⏱️
12 tests 12 ✅ 0 💤 0 ❌
13 runs  13 ✅ 0 💤 0 ❌

Results for commit 0fc9e9d.

Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for b252aca1 91.43%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (b252aca) Report Missing Report Missing Report Missing
Head commit (0fc9e9d) 3688 3010 81.62%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#491) 35 32 91.43%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

Copy link

codecov bot commented Aug 16, 2024

Codecov Report

Attention: Patch coverage is 91.42857% with 3 lines in your changes missing coverage. Please review.

Project coverage is 81.42%. Comparing base (eab3340) to head (0fc9e9d).
Report is 9 commits behind head on main.

Files Patch % Lines
src/commands/cluster.mjs 0.00% 2 Missing ⚠️
src/commands/network.mjs 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #491      +/-   ##
==========================================
+ Coverage   81.40%   81.42%   +0.02%     
==========================================
  Files          35       35              
  Lines        4414     4414              
  Branches      755      755              
==========================================
+ Hits         3593     3594       +1     
+ Misses        819      818       -1     
  Partials        2        2              
Files Coverage Δ
src/commands/flags.mjs 95.16% <ø> (ø)
src/commands/node.mjs 79.66% <100.00%> (ø)
src/core/account_manager.mjs 77.25% <100.00%> (ø)
src/core/constants.mjs 94.44% <100.00%> (ø)
src/core/helpers.mjs 92.06% <100.00%> (ø)
src/core/k8.mjs 86.47% <100.00%> (ø)
src/core/logging.mjs 57.14% <ø> (ø)
src/core/platform_installer.mjs 90.24% <100.00%> (ø)
src/core/templates.mjs 77.77% <100.00%> (ø)
src/commands/network.mjs 54.81% <0.00%> (ø)
... and 1 more

... and 1 file with indirect coverage changes

Impacted file tree graph

@jeromy-cannon jeromy-cannon merged commit 82a5053 into main Aug 16, 2024
32 of 33 checks passed
@jeromy-cannon jeromy-cannon deleted the 00490-path-join branch August 16, 2024 14:10
swirlds-automation added a commit that referenced this pull request Aug 26, 2024
## [0.28.0](v0.27.0...v0.28.0) (2024-08-26)

### Features

* add freeze account ([#436](#436)) ([8fe5a41](8fe5a41))
* enhance node add to work with staking and dynamic address book ([#469](#469)) ([b452599](b452599))
* use k8s configMaps to mount files during solo network deploy  ([#345](#345)) ([af27f16](af27f16))

### Bug Fixes

* hugo jsdoc failure ([#498](#498)) ([ff07413](ff07413))
* reduce number of account used e2e init account test ([#477](#477)) ([51d7ade](51d7ade))
* Resolve various problems to enable tests from local-node and smart-contracts to run agains solo network ([#402](#402)) ([c99d881](c99d881))
* use path.join instead of forward slashes to support Windows ([#491](#491)) ([82a5053](82a5053))
@swirlds-automation
Copy link
Contributor

🎉 This PR is included in version 0.28.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use path.join instead of forward slash when solo is using file paths on local system to avoid windows issues
3 participants