From 4c4620f128cd749b34925a046bc578a257046271 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CChisanan232=E2=80=9D?= Date: Thu, 1 Dec 2022 19:05:56 +0800 Subject: [PATCH 1/4] [Breaking Change] (code) Modify the package version back to pre-release format. --- test_gh_workflow/__pkg_info__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_gh_workflow/__pkg_info__.py b/test_gh_workflow/__pkg_info__.py index d3ec452c..02ca93b3 100644 --- a/test_gh_workflow/__pkg_info__.py +++ b/test_gh_workflow/__pkg_info__.py @@ -1 +1 @@ -__version__ = "0.2.0" +__version__ = "0.2.0-alpha1.post1" From 2e1c65d5262a08ca38920f91aa32742d0b260ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CChisanan232=E2=80=9D?= Date: Thu, 1 Dec 2022 19:07:39 +0800 Subject: [PATCH 2/4] [Breaking Change] (config) Add more files or directories to ignore by git. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 7a71fa75..1eb06cce 100644 --- a/.gitignore +++ b/.gitignore @@ -4,8 +4,11 @@ __pycache__ .coverage .coverage.* +*.egg-info/ .pypirc .pytest_cache/ .python-version +build/ code_source/ coverage.xml +dist/ From 89782a9b94a28d067e34e5d15dd6d129f3bdb2b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CChisanan232=E2=80=9D?= Date: Thu, 1 Dec 2022 19:10:25 +0800 Subject: [PATCH 3/4] [Breaking Change] (docs) Add v4.0.0 GitHub release title. --- .github/release-title.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/release-title.md b/.github/release-title.md index 2e8aed9c..fa306999 100644 --- a/.github/release-title.md +++ b/.github/release-title.md @@ -1 +1 @@ -v3.0.0 - Modify under testing OS & Python versions and upgrade dependencies actions ๐Ÿป \ No newline at end of file +v4.0.0 ๐Ÿป๐Ÿพ - Add new reusable workflows and fix setup issue with the latest version Ubuntu OS. \ No newline at end of file From fd6284a2fea0a7f1ebec1f4d9dd35ef101060f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CChisanan232=E2=80=9D?= Date: Thu, 1 Dec 2022 19:10:38 +0800 Subject: [PATCH 4/4] [Breaking Change] (docs) Add v4.0.0 GitHub release content. --- .github/release-notes.md | 50 +++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/.github/release-notes.md b/.github/release-notes.md index 682939a7..75714821 100644 --- a/.github/release-notes.md +++ b/.github/release-notes.md @@ -1,42 +1,40 @@ -[//]: # (### ๐ŸŽ‰๐ŸŽŠ๐Ÿพ New feature) - -[//]: # (
) +### ๐ŸŽ‰๐ŸŽŠ๐Ÿพ New feature +
-[//]: # () -[//]: # (1. Add new options about set up and run a sample HTTP server for testing if it needs in some testing scenario (_run_test_items_via_pytest.yaml_).) +1. Add new reusable workflows. + * _pre-building_test.yaml_: Running pre-testing by simple way with running _setup.py_ script. + * _push_pkg_to_pypi.yaml_: Compile Python source code and push the Python package to PyPI. -[//]: # () ### ๐Ÿ› โš™๏ธ๐Ÿ”ฉ **Breaking Change**
-1. Clear the under testing environments or settings to reduce resource. - - 1-1. Deprecate and remove some runtime OS versions. - - * Deprecated settings: _ubuntu-18.04_, _ubuntu-20.04_, _ubuntu-22.04_, _macos-10.15_, _macos-11_, _macos-12_ - * New settings: _ubuntu-latest_, _macos-latest_ +1. Modify the workflows detail about testing coverage report processing. + * All report types, e.g., .coverage format data file or XML format report, would be handled and generated in workflow _organize_and_generate_test_cov_reports.yaml_. + * It only processes uploading testing reports in workflow _upload_test_cov_report.yaml_. - 1-2. Add more Python version for testing - - * New version: _Python 3.11_ +### ๐Ÿ› ๐Ÿ›๐Ÿ’ฃ **Bug Fix** +
-[//]: # (### โš’โš’๐Ÿ’ฃ **Bug Fix** ) +1. Fix issue of setup processing would fail with Python version 3.6 in runtime OS Ubuntu 22.04. + * Modify to test code with Python 3.6 version in Ubuntu 20.04. +[//]: # (### ๐Ÿ”ฌ๐Ÿงช๐Ÿงฌ **Refactor**) [//]: # (
) [//]: # () -[//]: # (1. Fix the issue about uploading test coverage report cannot work at all.) +[//]: # (1. Upgrade the GitHub Action syntax usage about set-output commands.) -### ๐Ÿ”ฌ๐Ÿงช๐Ÿงฌ **Refactor** -
+[//]: # () +[//]: # ( * Change to use environment variable _GITHUB_OUTPUT_.) -1. Upgrade the GitHub Action syntax usage about set-output commands. +[//]: # ( * Refer: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/) - * Change to use environment variable _GITHUB_OUTPUT_. - * Refer: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ +[//]: # () +[//]: # (2. Upgrade the actions which depends on Node.JS version 12 to newer version.) + +[//]: # () +[//]: # ( * Upgrade _actions/checkout_ to version 3.) -2. Upgrade the actions which depends on Node.JS version 12 to newer version. +[//]: # ( * Upgrade _actions/setup-python_ to version 4.) - * Upgrade _actions/checkout_ to version 3. - * Upgrade _actions/setup-python_ to version 4. - * Refer: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ +[//]: # ( * Refer: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/)