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

ci: Run tests in CI #25

Merged
merged 2 commits into from
Feb 7, 2024
Merged

Conversation

christopher-davis-afs
Copy link
Contributor

This PE changes our CI configuration to run our tests when we receive a PR.
To keep consistency between libevse-security and other EVerest projects, we also
handle linting within build_and_test.yaml. Included is a commit to tweak the .gitignore file so that ci changes are not ignored.

One thing I noticed is that other components use ninja instead of make. Should we be using ninja here as well?

@christopher-davis-afs
Copy link
Contributor Author

CC: @shankari

@christopher-davis-afs
Copy link
Contributor Author

CC also @AssemblyJohn

@christopher-davis-afs christopher-davis-afs force-pushed the wip/cdavis/run-tests-in-ci branch 3 times, most recently from e5069e7 to c9e0e38 Compare December 7, 2023 14:34
@christopher-davis-afs christopher-davis-afs force-pushed the wip/cdavis/run-tests-in-ci branch 5 times, most recently from 86afae8 to ba0dfa5 Compare December 19, 2023 16:22
@christopher-davis-afs
Copy link
Contributor Author

@shankari I've made some changes to this based on the community feedback on the libocpp PR. Could you take another look at this?

CC: @Dominik-K as the provider for the aforementioned community review.

@andistorm
Copy link
Contributor

When the pull request is ready for merging, please mark me as a reviewer.

@andistorm andistorm self-requested a review February 6, 2024 20:51
Copy link
Contributor

@andistorm andistorm 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 to me in general, with a few minor comments.

Could you provide a link to a successful run of this workflow in your fork?

@christopher-davis-afs
Copy link
Contributor Author

Could you provide a link to a successful run of this workflow in your fork?

https://github.com/US-JOET/libevse-security/actions/runs/7264602730

Signed-off-by: Christopher Davis <[email protected]>
This commit changes our CI configuration to run our tests when we receive a PR.
To keep consistency between libevse-security and other EVerest projects, we also
handle linting within `build_and_test.yaml`.

Signed-off-by: Christopher Davis <[email protected]>
@andistorm
Copy link
Contributor

Nice!

@andistorm andistorm merged commit eaf20b9 into EVerest:main Feb 7, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants