[BladeLLM] Support dispatch feature for BladeLLM (#86) #289
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: e2e_test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
cancel_previous_workflows: | |
runs-on: ubuntu-latest | |
timeout-minutes: 1 | |
steps: | |
- uses: styfle/[email protected] | |
with: | |
all_but_latest: true | |
e2e_tests: | |
needs: cancel_previous_workflows | |
runs-on: [self-hosted] | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Kill Running Containers | |
run: | | |
[[ -n $(docker ps -q) ]] && docker kill $(docker ps -q) || echo "No running containers to kill." | |
- name: Build And Test | |
run: ./tools/run_test.sh e2e_test |