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

Make unit test coverage decrease more significant #90

Merged
merged 5 commits into from
Jan 18, 2024

Conversation

skyshaha1
Copy link
Contributor

Summary: Make unit test coverage decrease more significant - rialto-gstreamer
Type: Feature
Test Plan: Unit tests
Jira: RIALTO-421

Copy link

Pull request must be merged with a description containing the required fields,

Summary:
Type: Feature/Fix/Cleanup
Test Plan:
Jira:

If there is no jira releated to this change, please put 'Jira: NO-JIRA'.

Description can be changed by editing the top comment on your pull request and making a new commit.

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

Copy link

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 95.3%
Functions coverage stays unchanged and is: 98.7%

@RIALTO-JENKINS-AI
Copy link
Collaborator

Job for AI/job/AI_BUILDS/job/AI-Trigger-PullRequests started: None

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

Copy link

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 95.3%
Functions coverage stays unchanged and is: 98.7%

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

Copy link

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 95.3%
Functions coverage stays unchanged and is: 98.7%

@rdkcmf-jenkins
Copy link

Copy link

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 95.3%
Functions coverage stays unchanged and is: 98.7%

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

Copy link

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 95.3%
Functions coverage stays unchanged and is: 98.7%

@RIALTO-JENKINS-AI
Copy link
Collaborator

Job for AI/job/AI_BUILDS/job/AI-Trigger-PullRequests started: None

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

@rdkcmf-jenkins
Copy link

Copy link

Coverage statistics of your commit:
Lines coverage stays unchanged and is: 95.3%
Functions coverage stays unchanged and is: 98.7%

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 Hybrid'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/36585/

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 Hybrid'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/36586/

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 Hybrid'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/36587/

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 Hybrid'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/36591/

@rdkcmf-jenkins
Copy link

Sanity tests for ['RPI4 Hybrid'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/36595/

# Get process_coverage_stats script output
- id: get-comment-body
if: ${{ success() && github.ref != 'refs/heads/master' }}
if: ${{ (success() || failure()) && github.ref != 'refs/heads/master' }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is that comparison needed? It's always either success or failure

Copy link
Collaborator

Choose a reason for hiding this comment

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

FYI, I think by default, test steps are skipped if status is failure or cancelled.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, just tested it out on a different branch and Luke is right, test steps are skipped if the status is failure or cancelled, so both are comparisons are required

# Create comment with coverage info
- name: Create Coverage Comment
if: ${{ success() && github.ref != 'refs/heads/master' }}
if: ${{ (success() || failure()) && github.ref != 'refs/heads/master' }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is that comparison needed?

@rdkcmf-jenkins
Copy link

Sanity tests for ['BCM Reference Refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/36612/

@skyshaha1 skyshaha1 merged commit a2822a8 into master Jan 18, 2024
14 checks passed
@skyshaha1 skyshaha1 deleted the RIALTO-GSTREAMER-421 branch January 18, 2024 09:41
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.

None yet

5 participants