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

build: support SWAGGER_CONVERTER_API override #5968

Merged
merged 3 commits into from
Mar 29, 2024

Conversation

ohill
Copy link
Contributor

@ohill ohill commented Mar 29, 2024

Summary

This updates the Makefile in daemon/algod/api to support setting a different SWAGGER_CONVERTER_API, and starts up a Github workflow service container for swaggerapi/swagger-converter when running the codegen_verification job.

Test Plan

Check codegen_verification Github job to make sure it works.

@ohill ohill requested a review from a team as a code owner March 29, 2024 14:37
@ohill ohill requested a review from onetechnical March 29, 2024 14:37
jannotti
jannotti previously approved these changes Mar 29, 2024
Copy link
Contributor

@jannotti jannotti left a comment

Choose a reason for hiding this comment

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

Seems good once CI passes

Copy link
Contributor

@onetechnical onetechnical left a comment

Choose a reason for hiding this comment

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

I like the way this is implemented, because it preserves existing behavior.

Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.73%. Comparing base (c2d7047) to head (644c590).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5968      +/-   ##
==========================================
+ Coverage   55.71%   55.73%   +0.02%     
==========================================
  Files         490      490              
  Lines       68125    68125              
==========================================
+ Hits        37954    37971      +17     
+ Misses      27599    27585      -14     
+ Partials     2572     2569       -3     

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

Copy link
Contributor

@cce cce left a comment

Choose a reason for hiding this comment

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

looks like the job passed

@algorandskiy algorandskiy merged commit 0e7087b into algorand:master Mar 29, 2024
18 checks passed
@ohill ohill deleted the ciSwaggerFix branch March 29, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants