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

Added tests in github workflows and updated makefile #84

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

Conversation

Jay07GIT
Copy link
Member

@Jay07GIT Jay07GIT commented Feb 4, 2022

Description of the Change

  1. Added tests in github actions workflows
  2. Updated Makefile based on the updated vinyldns-api containers.

uses: actions/[email protected]

- id: get-version
run: echo "::set-output name=CURRENT_VERSION::$(cat Makefile | head -n1|awk -F= '{print $2}')"

Choose a reason for hiding this comment

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

head -n1 won't retrieve the version number anymore since SHELL=bash was added to the Makefile. Recommend replacing it with the below to grab the VERSION regardless of its position

run: |
    VERSION=$(grep '^VERSION=' Makefile | awk -F= '{print $2}')
    echo "::set-output name=CURRENT_VERSION::$VERSION"

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes thats right. updated the code to grab the version from the makefile properly.

Copy link

@arpit4ever arpit4ever left a comment

Choose a reason for hiding this comment

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

integration tests failed for me locally.

@Jay07GIT Jay07GIT requested a review from arpit4ever June 4, 2024 05:50
@Jay07GIT
Copy link
Member Author

Jay07GIT commented Jun 4, 2024

integration tests failed for me locally.

Updated the Make file and now tests working fine

Copy link
Member

@Aravindh-Raju Aravindh-Raju left a comment

Choose a reason for hiding this comment

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

Looks good!
But after we run all tests, the containers were still running. I think it has been the case long time and not related to this PR. Maybe we can fix that in this PR or a separate PR.

@nspadaccino nspadaccino added this to the 0.9.17 milestone Jun 10, 2024
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.

5 participants