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 test GitHub action #332

Closed

Conversation

martinkennelly
Copy link
Member

@martinkennelly martinkennelly commented Mar 6, 2021

Signed-off-by: Kennelly, Martin [email protected]

GA will fail until #331 is merged.

Issue: #327

os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go 1.13
Copy link
Contributor

Choose a reason for hiding this comment

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

The go version moves, right? So you should just add Set up go and remove the "1.13"

Copy link
Member Author

Choose a reason for hiding this comment

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

Corrected.

- name: Install hwdata
run: sudo apt-get install hwdata -y

- name: Go test
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if there is a need to run tests so many times ?

Copy link
Member Author

Choose a reason for hiding this comment

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

The reason why I did it was to ensure make test is ok for each version of golang. There is a small chance here to capture bugs for sure however it is free to execute this on github, and we just have to worry about log clutter only. I think that is an ok cost. Its easy to see at a glance if pass or failed.

@adrianchiris adrianchiris mentioned this pull request Mar 31, 2021
Signed-off-by: Kennelly, Martin <[email protected]>
@martinkennelly
Copy link
Member Author

Combined into PR #328

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