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

Add CI/CD workflows for Cloud Functions #190

Merged
merged 9 commits into from
Aug 10, 2023
Merged

Conversation

hernandezc1
Copy link
Collaborator

@hernandezc1 hernandezc1 commented Apr 11, 2023

The goal of this PR is to develop a CI/CD workflow that tests changes to any of the Pitt-Google Broker's microservices when triggered by the following actions:

  • workflow_dispatch
  • push
  • pull

I appreciate any feedback, as well as any references to documentation of best practices for future improvements.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This (fake) test case was purposely done in order for Daniel to show me that the test would successfully run

@hernandezc1 hernandezc1 self-assigned this May 2, 2023
@Crash-GHaun
Copy link
Collaborator

LGTM, although I'm not super familiar with GitHub Actions :)

on:
workflow_dispatch:
push:
pull_request:
Copy link
Member

Choose a reason for hiding this comment

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

You don't need to include the pull_request option if you already have push enabled.

There are cases where both are necessary. E.g.,when triggering on pushes/PRs on specific branches. However, this is not one of those cases.

CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}


codacy-coverage-reporter:
Copy link
Member

Choose a reason for hiding this comment

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

codacy-coverage-reporter must be indented with two spaces, not four.

@hernandezc1 hernandezc1 merged commit 6e1bc03 into develop Aug 10, 2023
1 check passed
@hernandezc1 hernandezc1 deleted the u/ch/workflows branch August 10, 2023 21:28
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.

3 participants