• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UiPath / uipathcli / 12594758457
90%
main: 91%

Build:
Build:
LAST BUILD BRANCH: chore/update-readme
DEFAULT BRANCH: main
Ran 03 Jan 2025 08:15AM UTC
Jobs 1
Files 93
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jan 2025 08:13AM UTC coverage: 90.328% (-0.1%) from 90.453%
12594758457

Pull #135

github

thschmitt
Add support to analyze and package studio projects

Integrated uipathcli with UiPath Studio to build, package and analyze
studio projects.

Added two new plugin commands:

- `uipath studio package analyze`
- `uipath studio package pack`

Implementation:

- Created infrastructure to download external plugins like the uipcli.
  The studio commands download the uipcli to the user cache dir
  and use it for packaging any studio project. Depending on the
  targetFramework the uipathcli either downloads the tool chain for
  building and packaging cross-platform or windows Studio projects.

- Added `ExecCmd` abstraction which is used to start processes and
  can easily be faked in unit tests in order to validate the behavior with
  different exit codes

- Refactored the existing browser launcher to use the `ExecCmd`
  abstraction

- Extended the progress bar rendering to allow displaying a simple bar
  without any percentage or bytes indicator so that the build process
  can be visualized without knowing the total time in advance.

- Increment the uipathcli version to 2.0.
  There are no backwards-incompatible changes. The major version increase
  only indicates that an important new feature has been added.

Examples:

`uipath studio package analyze --source plugin/studio/projects/crossplatform`

```
analyzing...        |██████████          |
```

```
{
  "error": null,
  "status": "Succeeded",
  "violations": [
    ...
  ]
}
```

`uipath studio package pack --source plugin/studio/projects/crossplatform --destination . --debug`

```
uipcli Information: 0 : Packing project(s) at path plugin\studio\projects\crossplatform\project.json...
uipcli Information: 0 : Orchestrator information is not provided, hence, orchestrator feeds will not be used.
uipcli Information: 0 : Proceeding with the local feeds...
uipcli Information: 0 : Detected schema version 4.0
...
uipcli Information: 0 : Packaged project MyProcess v1.0.2 saved to MyProcess.1.0.2.nupkg.
```

```
{
  "... (continued)
Pull Request #135: Add support to analyze and package studio projects

698 of 818 new or added lines in 25 files covered. (85.33%)

2 existing lines in 1 file now uncovered.

4931 of 5459 relevant lines covered (90.33%)

1.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
91.67
-8.33% log/debug_logger.go
4
77.78
auth/browser_launcher.go
4
84.0
utils/directories.go
4
94.87
-5.13% utils/progress_bar.go
8
68.0
plugin/studio/studio_project_reader.go
8
75.0
plugin/studio/uipcli.go
17
66.67
plugin/zip_archive.go
18
75.68
plugin/external_plugin.go
22
89.22
plugin/studio/package_pack_command.go
32
85.45
plugin/studio/package_analyze_command.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
90.7
-2.33% auth/identity_client.go
Jobs
ID Job ID Ran Files Coverage
1 12594758457.1 03 Jan 2025 08:15AM UTC 93
90.33
GitHub Action Run
Source Files on build 12594758457
  • Tree
  • List 93
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #135
  • PR Base - main (#12463628428)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc