Skip to content

Add more tests, fix a nit in unreachable panic message, update docs & ci#768

Merged
fxamacker merged 4 commits intomasterfrom
fxamacker/update-docs
Apr 27, 2026
Merged

Add more tests, fix a nit in unreachable panic message, update docs & ci#768
fxamacker merged 4 commits intomasterfrom
fxamacker/update-docs

Conversation

@fxamacker
Copy link
Copy Markdown
Owner

This PR resolves a collection of nits found during refactoring this weekend.

@fxamacker fxamacker self-assigned this Apr 26, 2026
@fxamacker fxamacker added docs CI CI using GitHub Actions Workflow improvement improvement that does not add new feature labels Apr 26, 2026
run: |
go version
go test -short -cover | grep "^.*coverage:.*of statements$" | python -c "import os,re,sys; cover_rpt = sys.stdin.read(); print(cover_rpt) if len(cover_rpt) != 0 and len(cover_rpt.splitlines()) == 1 else sys.exit(1); min_cover = float(re.findall(r'\d*\.\d+|\d+', os.environ['GITHUB_WORKFLOW'])[0]); cover = float(re.findall(r'\d*\.\d+|\d+', cover_rpt)[0]); sys.exit(1) if (cover > 100) or (cover < min_cover) else sys.exit(0)"
go test -short -cover | grep "^.*coverage:.*of statements$" | python -c "import os,re,sys; cover_rpt = sys.stdin.read(); print(cover_rpt) if len(cover_rpt) != 0 and len(cover_rpt.splitlines()) == 1 else sys.exit(1); min_cover = float(re.findall(r'\d*\.\d+|\d+', os.environ['GITHUB_WORKFLOW'])[0]); cover = float(re.findall(r'coverage:\s*(\d+(?:\.\d+)?)', cover_rpt)[0]); sys.exit(1) if (cover > 100) or (cover < min_cover) else sys.exit(0)"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@fxamacker fxamacker merged commit e501aca into master Apr 27, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI using GitHub Actions Workflow docs improvement improvement that does not add new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants