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

Update and fix CI workflows #133

Merged
merged 19 commits into from
Nov 24, 2021
Merged

Update and fix CI workflows #133

merged 19 commits into from
Nov 24, 2021

Conversation

bmoffatt
Copy link
Collaborator

Issue #, if available:

Description of changes:

  • added github action workflows for clang-format/clang-tidy/"the build", fixed any reccomentations
  • updated the aws codebuild buildspecs and Dockerfiles to get their workflows running again
  • added a sleep in integration tests to mitigate Lambda Function States causing test failures

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@marcomagdy marcomagdy left a comment

Choose a reason for hiding this comment

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

Thank you for taking care of this.
It all looks good. I left one comment/question.

@@ -163,8 +163,6 @@ class runtime {
std::string const& url,
std::string const& request_id,
invocation_response const& handler_response);

private:
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the reason for making this public?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

clang-tidy pointed out that these were already made private a few lines up

ref: https://github.com/bmoffatt/aws-lambda-cpp/runs/4305830378?check_suite_focus=true

/home/runner/work/aws-lambda-cpp/aws-lambda-cpp/include/aws/lambda-runtime/runtime.h:167:1: error: redundant access specifier has the same accessibility as the previous access specifier [readability-redundant-access-specifiers,-warnings-as-errors]
private:
^~~~~~~~
/home/runner/work/aws-lambda-cpp/aws-lambda-cpp/include/aws/lambda-runtime/runtime.h:159:1: note: previously declared here
private:
^

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah! That's what I get for looking at this on a 5" phone screen.

@marcomagdy
Copy link
Contributor

Please squash before merging. Thanks again.

@bmoffatt bmoffatt merged commit 0ee61ee into awslabs:master Nov 24, 2021
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.

2 participants