Skip to content

[CI] Add comprehensive testing: migration, e2e, and bench #1

[CI] Add comprehensive testing: migration, e2e, and bench

[CI] Add comprehensive testing: migration, e2e, and bench #1

Workflow file for this run

name: bench_test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
cancel_previous_workflows:
runs-on: [self-hosted]
timeout-minutes: 3
steps:
- uses: styfle/cancel-workflow-action@0.12.1
with:
all_but_latest: true
bench_tests:
needs: cancel_previous_workflows
runs-on: [self-hosted]
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pull Dev Image
run: docker pull nvcr.io/nvidia/pytorch:23.10-py3
- name: Kill Running Containers
run: |
[[ -n $(docker ps -q) ]] && docker kill $(docker ps -q) || echo "No running containers to kill."
- name: Install Deps
run: |
wget "https://github.com/bazelbuild/bazel/releases/download/5.1.0/bazel_5.1.0-linux-x86_64.deb"
dpkg -i bazel_5.1.0-linux-x86_64.deb
make cupy-cuda
make pygloo
- name: Build And Test
run: ./tools/ci_bench_test.sh