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

Use GitHub Actions to automating testing, quality analysis and code/test coverage when new commits or pull requests are received #38

Open
2 of 4 tasks
tommens opened this issue Feb 9, 2022 · 0 comments

Comments

@tommens
Copy link
Owner

tommens commented Feb 9, 2022

In order to ensure that the code available in this GitHub repository remains of high quality, the workflow should be automated by using GitHub Actions (reusable actions found on the GitHub Marketplace can be used for that purpose https://github.com/marketplace). The current version already contains partial support for some of this, but needs to be improved further.

  • Continuous building and testing: Whenever a new pull request or commit is being made, the unit tests and BDD tests need to be run, and a report should be generated. A pull request cannot be merged and closed as long as there remain failing tests.
  • Continuous coverage and quality analysis: For every new code addition, code/test coverage and code quality checkers should be run and report their results.
  • Continuous reporting: Whenever a new release is published a report needs to be generated and associated as an asset to the release. The report should contain: the full JavaDoc documentation; the full results of the tests having been executed (the release should fail if some tests do not pass); the full results of the code and test coverage analysis; the full results of the quality analysis.
  • The three workflows above should be separated, and latter two workflows should only be run conditional to the success of the first workflow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant