Skip to content

Conversation

@Chisanan232
Copy link
Owner

Pre-Checking

‼️Please must read this section and check by yourself.
⚠️Do NOT modify this section if it doesn't have any necessary reason.

Please verify the PR header should be satisfied below format:

[commit topic] (commit scope) <commit summary>
  • commit topic: The major topic of your modify. It could have multiple topics, e.g., [Breaking Change + Test].
  • commit scope: The scope in project of modify. It could have multiple scopes, e.g., (config + test).
  • commit summary: Summary of the commits. It should be clear that the target, the KEY POINT why you modify it or what you resolve, etc.

Please refer to GCR (Git Commit Rules) to get more detail about it.


Target

  • Add CI feature to automatic almost everything in development of this Python library project.
  • Research the usage about how to reuse actions of GitHub Action in configuration to let setting to be more clear, readable and easier to use.

Modify Code Scope

  • All settings in .github directory.

    • GitHub Action settings all in .github/workflows.

Effecting Scope

  • The all automations after developers pushes their commits to GitHub platform.

Description

  • GitHub Action CI:

    • Add reusable actions and includes below features:

      • Prepare to get all test items. (file: .github/workflows/prepare_test_items.yaml)
      • Run all test with the test items it gets via Python framework pytest. (file: .github/workflows/run_test_items_via_pytest.yaml)
      • Organize and generate all test reports to a final result (final test report). (file: .github/workflows/organize_and_generate_testing_report.yaml)
      • Upload the final test report to Codecov to record it. (file: .github/workflows/upload_test_report_to_codecov.yaml)
      • Upload the final test report to Codacy to analyze code quality and record it. (file: .github/workflows/upload_code_report_to_codacy.yaml)

@Chisanan232 Chisanan232 merged commit 8ce5155 into master Aug 17, 2022
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