docs: replace Travis CI badge with GitHub Actions + unit test table#361
Merged
Conversation
…dges - Replace Travis CI badge (travis-ci.org shut down) with two GitHub Actions workflow badges in the header (Py3 build/test + Legacy Python build/test, both introduced in aliyun#360) - Add a per-Python-version CI status table covering 2.7/3.6/3.7/3.8/3.12, each row carrying a shields.io badge with a "py X.Y" label that reflects the corresponding workflow's pass/fail status on master - Mirror the change in README_CN.md Verified on aliyun/aliyun-log-python-sdk master @ a4f13af: all 11 jobs across both workflows passing (build-test 2.7/3.6/3.7/3.8/3.10/3.12, unit-test 3.7-container/3.8/3.12, typing, e2e-test skipped). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0f07a24 to
ef931a2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
actions/setup-python@v5vs container).README_CN.md.The new badges:
build.yamlcovers Python 3.8 / 3.10 / 3.12 (modern, viasetup-python@v5).py2-build.yamlcovers Python 2.7 / 3.6 / 3.7 (legacy, via Docker job containers).Only versions that actually run
pytest tests/unit/are listed in the table (3.7, 3.8, 3.12). Versions that only runtests/ci/build-test/(smoke compile + import) are still reflected by the workflow-level badges at the top.Test plan
curl -sIboth badge URLs → 200 OK