[CI] Fix CI for pull request targets other than main (#632)

This commit is contained in:
Kevin Lin
2025-07-22 21:00:03 -07:00
committed by GitHub
parent 832ad61e5b
commit dd022ad9be
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -13,7 +13,7 @@ steps:
- label: "Trigger Tests"
plugins:
- monorepo-diff#v1.4.0:
diff: "git diff --name-only $BUILDKITE_PULL_REQUEST_BASE_BRANCH...HEAD"
diff: 'git fetch origin "$BUILDKITE_PULL_REQUEST_BASE_BRANCH" && git diff --name-only origin/"$BUILDKITE_PULL_REQUEST_BASE_BRANCH"...HEAD'
watch:
- path:
- "fastvideo/v1/models/encoders/**"
@@ -58,8 +58,10 @@ steps:
queue: "default"
- path:
- "fastvideo/v1/**/*.py"
- "pyproject.toml"
- "docker/Dockerfile.python3.12"
config:
command: "timeout 30m .buildkite/scripts/pr_test.sh"
command: "timeout 45m .buildkite/scripts/pr_test.sh"
label: "SSIM Tests"
env:
- TEST_TYPE=ssim
+1 -1
View File
@@ -74,7 +74,7 @@ def run_vae_tests():
def run_transformer_tests():
run_test("pytest ./fastvideo/v1/tests/transformers -vs")
@app.function(gpu="L40S:2", image=image, timeout=1800)
@app.function(gpu="L40S:2", image=image, timeout=2700)
def run_ssim_tests():
run_test("pytest ./fastvideo/v1/tests/ssim -vs")