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

Setup Github workflow #8

Merged
merged 2 commits into from
Jun 30, 2022
Merged

Setup Github workflow #8

merged 2 commits into from
Jun 30, 2022

Conversation

Wwwsylvia
Copy link
Contributor

Signed-off-by: Lixia (Sylvia) Lei lixia_lei@outlook.com

Comment on lines 24 to 25
- name: Run unit tests
run: make test
Copy link

Choose a reason for hiding this comment

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

I'm curious why the steps across notation, notation-go, and notation-core-go are slightly different, can they all be the same set of steps. Can they be reused workflows defined in a single place?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Defined a reusable workflow.


jobs:
build:
runs-on: ubuntu-latest
Copy link

Choose a reason for hiding this comment

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

We should update notation build.yml to use the same.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we also build/test on Windows and Mac?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Make sense. But we may want to do this in a seperate PR, as currently we use make test to generate coverage report, which will not work on Windows.

Copy link
Contributor Author

@Wwwsylvia Wwwsylvia Jun 28, 2022

Choose a reason for hiding this comment

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

@gokarnm Updated notation workflow. See notaryproject/notation#212.

Signed-off-by: Lixia (Sylvia) Lei <lixia_lei@outlook.com>
Signed-off-by: Lixia (Sylvia) Lei <lixia_lei@outlook.com>
Copy link

@gokarnm gokarnm left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@shizhMSFT shizhMSFT merged commit 70e9ac7 into notaryproject:main Jun 30, 2022
@Wwwsylvia Wwwsylvia deleted the build branch June 30, 2022 02:43
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.

4 participants