Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
verl
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZhangXiaoyun
verl
Commits
0e2458d1
Unverified
Commit
0e2458d1
authored
Nov 28, 2024
by
Guangming Sheng
Committed by
GitHub
Nov 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci] create yapf_format.yml for code format ci
parent
4a3b49df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
.github/workflows/yapf_format.yml
+38
-0
No files found.
.github/workflows/yapf_format.yml
0 → 100644
View file @
0e2458d1
name
:
yapf
on
:
# Trigger the workflow on push or pull request,
# but only for the main branch
push
:
branches
:
-
main
paths
:
-
"
**/*.py"
-
.github/workflows/yapf_format.yml
pull_request
:
branches
:
-
main
paths
:
-
"
**/*.py"
-
.github/workflows/yapf_format.yml
jobs
:
yapf
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
python-version
:
[
"
3.12"
]
steps
:
-
uses
:
actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# v4.2.2
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
# v5.3.0
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install yapf
pip install toml==0.10.2
-
name
:
Running yapf
run
:
|
yapf -r -vv -d --style=./.style.yapf verl tests single_controller examples
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