Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored Sep 28, 2022
1 parent 4880fd7 commit f15442d
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 29 deletions.
2 changes: 1 addition & 1 deletion bin/cml/asset/publish.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('CML e2e', () => {
Options:
--md Output in markdown format [title || name](url) [boolean]
-t, --title Markdown title [title](url) or ![](url title) [string]
-t, -t, --title Markdown title [title](url) or ![](url title) [string]
--native Uses driver's native capabilities to upload assets instead
of CML's storage; not available on GitHub [boolean]
--rm-watermark Avoid CML watermark. [boolean]
Expand Down
14 changes: 8 additions & 6 deletions bin/cml/check/create.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,17 @@ describe('CML e2e', () => {
--help Show help [boolean]
Options:
--commit-sha, --head-sha Commit SHA linked to this comment
--commit-sha, --head-sha, --head-sha Commit SHA linked to this comment
[string] [default: HEAD]
--conclusion Conclusion status of the check
--conclusion Conclusion status of the check
[string] [choices: \\"success\\", \\"failure\\", \\"neutral\\", \\"cancelled\\", \\"skipped\\",
\\"timed_out\\", \\"success\\", \\"failure\\", \\"neutral\\", \\"cancelled\\", \\"skipped\\",
\\"timed_out\\"] [default: \\"success\\"]
--status Status of the check
[string] [choices: \\"queued\\", \\"in_progress\\", \\"completed\\"] [default:
\\"completed\\"]
--title Title of the check [string] [default: \\"CML Report\\"]"
--status Status of the check
[string] [choices: \\"queued\\", \\"in_progress\\", \\"completed\\", \\"queued\\",
\\"in_progress\\", \\"completed\\"] [default: \\"completed\\"]
--title Title of the check
[string] [default: \\"CML Report\\"]"
`);
});
});
27 changes: 14 additions & 13 deletions bin/cml/comment/create.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,22 @@ describe('Comment integration tests', () => {
--help Show help [boolean]
Options:
--pr Post to an existing PR/MR associated with the
specified commit [boolean]
--commit-sha, --head-sha Commit SHA linked to this comment
--pr Post to an existing PR/MR associated
with the specified commit [boolean]
--commit-sha, --head-sha, --head-sha Commit SHA linked to this comment
[string] [default: \\"HEAD\\"]
--publish Upload any local images found in the Markdown report
[boolean]
--publish-url Self-hosted image server URL
--publish Upload any local images found in the
Markdown report [boolean]
--publish-url Self-hosted image server URL
[string] [default: \\"https://asset.cml.dev\\"]
--watch Watch for changes and automatically update the
comment [boolean]
--native Uses driver's native capabilities to upload assets
instead of CML's storage; not available on GitHub
[boolean]
--rm-watermark Avoid watermark; CML needs a watermark to be able to
distinguish CML comments from others [boolean]"
--watch Watch for changes and automatically
update the comment [boolean]
--native Uses driver's native capabilities to
upload assets instead of CML's storage;
not available on GitHub [boolean]
--rm-watermark Avoid watermark; CML needs a watermark
to be able to distinguish CML comments
from others [boolean]"
`);
});

Expand Down
19 changes: 10 additions & 9 deletions bin/cml/tensorboard/connect.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,18 @@ describe('CML e2e', () => {
--help Show help [boolean]
Options:
-c, --credentials TensorBoard credentials as JSON, usually found at
~/.config/tensorboard/credentials/uploader-creds.json
-c, -c, --credentials TensorBoard credentials as JSON, usually found at
~/.config/tensorboard/credentials/uploader-creds.json
[string] [required]
--logdir Directory containing the logs to process [string]
--name Tensorboard experiment title; max 100 characters [string]
--description Tensorboard experiment description in Markdown format; max
600 characters [string]
--md Output as markdown [title || name](url) [boolean]
-t, --title Markdown title, if not specified, param name will be used
--logdir Directory containing the logs to process [string]
--name Tensorboard experiment title; max 100 characters
[string]
--rm-watermark Avoid CML watermark [boolean]"
--description Tensorboard experiment description in Markdown format;
max 600 characters [string]
--md Output as markdown [title || name](url) [boolean]
-t, -t, --title Markdown title, if not specified, param name will be
used [string]
--rm-watermark Avoid CML watermark [boolean]"
`);
});

Expand Down

4 comments on commit f15442d

@0x2b3bfa0
Copy link
Member Author

Choose a reason for hiding this comment

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

Test Comment

CML watermark

@0x2b3bfa0
Copy link
Member Author

Choose a reason for hiding this comment

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

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Test Comment

CML watermark

Please sign in to comment.