Skip to content

[ci] test lint ci and lint tests dir #3

[ci] test lint ci and lint tests dir

[ci] test lint ci and lint tests dir #3

Workflow file for this run

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
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install yapf
# pip install toml==0.10.2
steps:
- name: Running some ray test that only need 2 GPUs
run: |
pytest -s -x test_rvdz.py test_driverfunc_to_worker.py test_data_transfer.py test_colocated_workers.py test_check_worker_alive.py