Update ci workflows (#1804)

This commit is contained in:
Lianmin Zheng
2024-10-26 04:32:36 -07:00
committed by GitHub
parent c26507484f
commit 6aa94b967c
34 changed files with 135 additions and 140 deletions

14
docs/contributor_guide.md Normal file
View File

@@ -0,0 +1,14 @@
# Contributor Guide
## Format Your Code
Use these commands to format your code and pass CI linting tests.
```
pip3 install pre-commit
cd sglang
pre-commit install
pre-commit run --all-files
```
## Add Unit Tests
Add unit tests under [sglang/test](https://github.com/sgl-project/sglang/tree/main/test). You can learn how to add and run tests from the README.md in that folder.