From 6f26ab326103aef7dc151a1c2697a16195266297 Mon Sep 17 00:00:00 2001 From: jiachengyang <101832757+jc-bytedance@users.noreply.github.com> Date: Tue, 2 Apr 2024 14:18:31 -0700 Subject: [PATCH] [CI] Add a basic ci test (#19) This PR includes a workflow that runs ci tests using self-hosted runner. --- .github/workflows/ci.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..db320ca --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,31 @@ +name: VeScale Unit Tests +on: + push: + branches: + - main + pull_request: + + workflow_dispatch: + +permissions: + contents: read + pull-requests: read + +jobs: + + Run-all-tests: + + runs-on: [self-hosted, Linux, X64, GPU] + + container: + image: ghcr.io/volcengine/vescale:latest + + options: --gpus=all --shm-size=400g + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: run-test.sh + run: ls && pwd && bash ./scripts/run_test.sh + +