mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-02-07 06:12:12 -05:00
fix: make sure to separate PR and main run
Signed-off-by: paperspace <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -29,14 +29,24 @@ jobs:
|
||||
uv pip install --system httpx
|
||||
- name: startup machine
|
||||
run: python tools/machines.py --start ${{ secrets.PAPERSPACE_MACHINE_ID }} || true
|
||||
- name: executing remote ssh commands using password
|
||||
- name: running regression tests (PR)
|
||||
uses: appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262 # ratchet:appleboy/ssh-action@v1.0.3
|
||||
if: github.event_name == 'pull_request'
|
||||
with:
|
||||
host: ${{secrets.PAPERSPACE_HOST}}
|
||||
username: ${{secrets.PAPERSPACE_USERNAME}}
|
||||
key: ${{secrets.PAPERSPACE_SSH_KEY}}
|
||||
port: ${{secrets.PAPERSPACE_PORT}}
|
||||
script: bash ci.sh --pr ${{github.event.number}}
|
||||
- name: running regression tests (main)
|
||||
uses: appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262 # ratchet:appleboy/ssh-action@v1.0.3
|
||||
if: ${{ !github.event.repository.fork && github.event_name == 'push' }}
|
||||
with:
|
||||
host: ${{secrets.PAPERSPACE_HOST}}
|
||||
username: ${{secrets.PAPERSPACE_USERNAME}}
|
||||
key: ${{secrets.PAPERSPACE_SSH_KEY}}
|
||||
port: ${{secrets.PAPERSPACE_PORT}}
|
||||
script: bash ci.sh --head
|
||||
evergreen: # https://github.com/marketplace/actions/alls-green#why
|
||||
if: always()
|
||||
needs:
|
||||
|
||||
Reference in New Issue
Block a user