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

ci(workflows): Add code coverage reporting for v2 #6884

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

AnuthaDev
Copy link
Contributor

@AnuthaDev AnuthaDev commented Dec 19, 2024

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Added a CI pipeline that will run cypress tests and generate code coverage reports for v2

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

Closes #1593
Closes #1587
Closes #1622
Closes #1700

How did you test it?

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

Copy link

semanticdiff-com bot commented Dec 19, 2024

Review changes with  SemanticDiff

Changed Files
File Status
  cypress-tests-v2/package-lock.json  30% smaller
  .github/workflows/cypress-tests-runner.yml Unsupported file format
  docs/CONTRIBUTING.md Unsupported file format
  justfile Unsupported file format
  scripts/execute_cypress.sh Unsupported file format

.github/workflows/cypress-tests-runner.yml Outdated Show resolved Hide resolved
.github/workflows/cypress-tests-runner.yml Outdated Show resolved Hide resolved
.github/workflows/cypress-tests-runner.yml Outdated Show resolved Hide resolved
.github/workflows/cypress-tests-runner.yml Outdated Show resolved Hide resolved
.github/workflows/cypress-tests-runner.yml Outdated Show resolved Hide resolved
Copy link

codecov bot commented Dec 19, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@AnuthaDev AnuthaDev force-pushed the code-vyapti branch 5 times, most recently from d2a1842 to 4873fa2 Compare December 26, 2024 16:09
@AnuthaDev AnuthaDev marked this pull request as ready for review December 26, 2024 16:09
@AnuthaDev AnuthaDev requested review from a team as code owners December 26, 2024 16:09
@AnuthaDev AnuthaDev self-assigned this Dec 26, 2024
@AnuthaDev AnuthaDev added A-CI-CD Area: Continuous Integration/Deployment api-v2 labels Dec 26, 2024
@AnuthaDev AnuthaDev added this to the December 2024 Release milestone Dec 26, 2024
.github/workflows/cypress-tests-runner.yml Outdated Show resolved Hide resolved
.github/workflows/cypress-tests-runner.yml Outdated Show resolved Hide resolved
.github/workflows/cypress-tests-runner.yml Outdated Show resolved Hide resolved
docs/CONTRIBUTING.md Show resolved Hide resolved
justfile Outdated Show resolved Hide resolved
scripts/execute_cypress_v2.sh Outdated Show resolved Hide resolved
Copy link
Member

@SanchithHegde SanchithHegde left a comment

Choose a reason for hiding this comment

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

Other than that, looks good to me!

Comment on lines +432 to +433
run: |
scripts/execute_cypress.sh "" "" "cypress-tests-v2"
Copy link
Member

Choose a reason for hiding this comment

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

Nit:

Suggested change
run: |
scripts/execute_cypress.sh "" "" "cypress-tests-v2"
run: scripts/execute_cypress.sh "" "" "cypress-tests-v2"

Can also add a comment clarifying why the first 2 args are empty. It's not evident unless someone checks the source of the script file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CI-CD Area: Continuous Integration/Deployment api-v2
Projects
None yet
4 participants