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

GitHub actions #2

Merged
merged 5 commits into from
Jun 7, 2021
Merged

GitHub actions #2

merged 5 commits into from
Jun 7, 2021

Conversation

chaws
Copy link
Contributor

@chaws chaws commented Jun 5, 2021

This PR shows how Github actions CI ensures code quality by running tests, lint and format-checking.

chaws added 2 commits June 4, 2021 22:41
Signed-off-by: Charles Oliveira <charles.oliveira@linaro.org>
Signed-off-by: Charles Oliveira <charles.oliveira@linaro.org>
@jscook2345
Copy link

Looks really good!

One suggestion:

Use the gitlabci-lint action instead. See the example here:

https://github.com/sirupsen/logrus/blob/master/.github/workflows/ci.yaml

@jscook2345
Copy link

Once you merge this I will help add some more linters that are disabled by default but very useful as well!

@chaws chaws force-pushed the github-actions branch 5 times, most recently from 4ec4c3d to 64961ac Compare June 7, 2021 12:58
chaws added 2 commits June 7, 2021 10:00
Signed-off-by: Charles Oliveira <charles.oliveira@linaro.org>
Signed-off-by: Charles Oliveira <charles.oliveira@linaro.org>
@chaws
Copy link
Contributor Author

chaws commented Jun 7, 2021

Thanks @jscook2345 ! I've incorporated your suggestions and also split the thing into 3 jobs: lint, format and coverage (which runs tests).

I'm merging this now so that next PR's will run through the checks. Will be waiting for more linters :)

@chaws chaws merged commit 497189f into Open-CMSIS-Pack:main Jun 7, 2021
@chaws chaws deleted the github-actions branch June 7, 2021 14:26
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.

2 participants