A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 16, 08:15 UTC
[CI/Build] re-add codespell to CI (#10083)
Signed-off-by: Russell Bryant <rbryant@redhat.com>
Russell Bryant committed
Nov 7, 2024 at 01:54 UTC
104d729656fe746d1b91a0528e51e5efc8d14b4a
1 file changed
+45
.github/workflows/codespell.yml
new
+45
@@ -0,0 +1,45 @@
1
+name: codespell
2
+
3
+on:
4
+ # Trigger the workflow on push or pull request,
5
+ # but only for the main branch
6
+ push:
7
+ branches:
8
+ - main
9
+ paths:
10
+ - "**/*.py"
11
+ - "**/*.md"
12
+ - "**/*.rst"
13
+ - pyproject.toml
14
+ - requirements-lint.txt
15
+ - .github/workflows/codespell.yml
16
+ pull_request:
17
+ branches:
18
+ - main
19
+ paths:
20
+ - "**/*.py"
21
+ - "**/*.md"
22
+ - "**/*.rst"
23
+ - pyproject.toml
24
+ - requirements-lint.txt
25
+ - .github/workflows/codespell.yml
26
+
27
+jobs:
28
+ codespell:
29
+ runs-on: ubuntu-latest
30
+ strategy:
31
+ matrix:
32
+ python-version: ["3.12"]
33
+ steps:
34
+ - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
35
+ - name: Set up Python ${{ matrix.python-version }}
36
+ uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
37
+ with:
38
+ python-version: ${{ matrix.python-version }}
39
+ - name: Install dependencies
40
+ run: |
41
+ python -m pip install --upgrade pip
42
+ pip install -r requirements-lint.txt
43
+ - name: Spelling check with codespell
44
+ run: |
45
+ codespell --toml pyproject.toml