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

Incorporated API generation into CI workflow and fixed 'generate' nox session #660

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

saimedhi
Copy link
Collaborator

Description

Incorporated API generation into CI workflow and fixed 'generate' nox session

Issues Resolved

Closes #618

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6e58837) 72.13% compared to head (83f0646) 72.13%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #660   +/-   ##
=======================================
  Coverage   72.13%   72.13%           
=======================================
  Files          89       89           
  Lines        7945     7945           
=======================================
  Hits         5731     5731           
  Misses       2214     2214           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

… session

Signed-off-by: saimedhi <saimedhi@amazon.com>
@saimedhi
Copy link
Collaborator Author

@VachaShah, can you please take a look at this PR.

run: |
python3.7 -m pip install nox
- name: Run the api generator
run: nox -s generate
Copy link
Member

Choose a reason for hiding this comment

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

I think we also want to block the PR if there were changes, don't we? Can be done in a separate PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think we also want to block the PR if there were changes, don't we

  • We will add a daily cron job to update code if there are specification changes.

  • PRs shouldn't be blocked as long as the generator CI test passes, even if they include changes, daily cron job handles it.

@dblock dblock merged commit 900ea94 into opensearch-project:main Jan 24, 2024
55 checks passed
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.

[FEATURE] run nox -rs generate in CI
2 participants