Skip to content

Commit 7d2323f

Browse files
pan-x-cchenyushuo
andauthored
Release 0.3.0 (#261)
Co-authored-by: chenyushuo <[email protected]>
1 parent c44be19 commit 7d2323f

File tree

32 files changed

+679
-764
lines changed

32 files changed

+679
-764
lines changed

.github/workflows/release.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
pypi-publish:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.10'
21+
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install build
26+
27+
- name: Publish to PyPI
28+
uses: pypa/gh-action-pypi-publish@release/v1
29+
with:
30+
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/unittest.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,3 @@ jobs:
129129
run: |
130130
rm -rf trinity-${{ github.run_id }} 2>/dev/null
131131
continue-on-error: true
132-
133-
# TODO: run data tests after the dependency conflict is resolved

CONTRIBUTING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Contributing to Trinity-RFT
2+
3+
Thank you for your interest in contributing to Trinity-RFT! We welcome all types of contributions, including code, documentation, tests, bug reports, and feature suggestions.
4+
5+
## How to Contribute
6+
7+
1. Fork this repository and create your branch.
8+
2. Follow the project coding standards (run `pre-commit run --all-files` before committing).
9+
3. Write or update unit tests (`python -m pytest tests`).
10+
4. Submit a Pull Request with a clear description of your changes and motivation.
11+
12+
## Issues and Suggestions
13+
14+
- Please submit bug reports and feature requests via [GitHub Issues](https://github.com/modelscope/Trinity-RFT/issues).
15+
- Provide detailed reproduction steps and environment information when possible.
16+
17+
## Other Contributions
18+
19+
- Documentation improvements and translations are welcome.
20+
- For detailed development workflow and branch management, refer to the README and related documents.
21+
22+
Thank you for contributing!

0 commit comments

Comments
 (0)