Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
104d7296
Unverified
Commit
104d7296
authored
Nov 07, 2024
by
Russell Bryant
Committed by
GitHub
Nov 06, 2024
Browse files
[CI/Build] re-add codespell to CI (#10083)
Signed-off-by:
Russell Bryant
<
rbryant@redhat.com
>
parent
db7db4aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
.github/workflows/codespell.yml
.github/workflows/codespell.yml
+45
-0
No files found.
.github/workflows/codespell.yml
0 → 100644
View file @
104d7296
name
:
codespell
on
:
# Trigger the workflow on push or pull request,
# but only for the main branch
push
:
branches
:
-
main
paths
:
-
"
**/*.py"
-
"
**/*.md"
-
"
**/*.rst"
-
pyproject.toml
-
requirements-lint.txt
-
.github/workflows/codespell.yml
pull_request
:
branches
:
-
main
paths
:
-
"
**/*.py"
-
"
**/*.md"
-
"
**/*.rst"
-
pyproject.toml
-
requirements-lint.txt
-
.github/workflows/codespell.yml
jobs
:
codespell
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
python-version
:
[
"
3.12"
]
steps
:
-
uses
:
actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
# v4.2.1
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
# v5.2.0
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install -r requirements-lint.txt
-
name
:
Spelling check with codespell
run
:
|
codespell --toml pyproject.toml
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment