Skip to content

Commit 5d81451

Browse files
quantbaiclaude
andcommitted
ci: complete release automation and development standards
- publish.yml: now runs full test suite before publishing, creates GitHub Release with auto-generated notes and build artifacts - CLAUDE.md: comprehensive rewrite with 12 numbered sections covering all development practices from daily workflow to release process. This is the single source of truth for any developer or LLM. Sections: project overview, architecture, git workflow, coding standards, testing, commit convention, code review, versioning, release process, one-time setup, commands reference, known limitations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a077d6e commit 5d81451

2 files changed

Lines changed: 190 additions & 140 deletions

File tree

.github/workflows/publish.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,31 @@
1-
name: Publish to PyPI
1+
name: Release and Publish
22

33
on:
44
push:
55
tags:
66
- "v*"
77

88
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
python-version: ["3.10", "3.11", "3.12", "3.13"]
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- run: pip install -e ".[dev]"
20+
- run: ruff check elvers/
21+
- run: pytest tests/ -v
22+
923
publish:
24+
needs: test
1025
runs-on: ubuntu-latest
1126
permissions:
1227
id-token: write
28+
contents: write
1329
steps:
1430
- uses: actions/checkout@v4
1531

@@ -25,3 +41,9 @@ jobs:
2541

2642
- name: Publish to PyPI
2743
uses: pypa/gh-action-pypi-publish@release/v1
44+
45+
- name: Create GitHub Release
46+
uses: softprops/action-gh-release@v2
47+
with:
48+
generate_release_notes: true
49+
files: dist/*

0 commit comments

Comments
 (0)