Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterSH6 committed Jan 8, 2025
1 parent 4d74389 commit 2c84712
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dataset.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: dataset

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
paths:
- "**/*.py"
- .github/workflows/dataset.yml
pull_request:
branches:
- main
paths:
- "**/*.py"
- .github/workflows/dataset.yml

jobs:
ray:
runs-on: [self-hosted, gpu]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Install the current repository
run: |
pip install -e .[test] --user
- name: Running dataset tests
run: |
[ ! -d "$HOME/verl-data" ] && git clone --depth 1 https://github.com/eric-haibin-lin/verl-data ~/verl-data
pytest -s -x tests/verl
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ jobs:
run: |
pip install hf_transfer
pip install -e .[test]
- name: Running dataset tests
run: |
[ ! -d "$HOME/verl-data" ] && git clone --depth 1 https://github.com/eric-haibin-lin/verl-data ~/verl-data
pytest -s -x tests/verl
- name: Running ray tests that need 8 GPUs
run: |
cd tests/ray
Expand Down

0 comments on commit 2c84712

Please sign in to comment.