[ci] test lint ci and lint tests dir #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ray | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
push: | |
branches: | |
- main | |
paths: | |
- "**/*.py" | |
- .github/workflows/ray_test.yml | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "**/*.py" | |
- .github/workflows/ray_test.yml | |
jobs: | |
ray: | |
runs-on: [self-hosted, gpu] # test if the enviroment is ready | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Running some ray test that only need 2 GPUs | |
run: | | |
cd tests/ray | |
pytest -s -x test_rvdz.py test_driverfunc_to_worker.py test_data_transfer.py test_colocated_workers.py test_check_worker_alive.py |