Skip to content

Commit 7e7481d

Browse files
authored
Merge pull request #16 from tburt-nv/dev-tburt-only-pr-ci
[None] only run CI on pull requests
2 parents bc6faf7 + 115e784 commit 7e7481d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: CI
2-
on: push
2+
on:
3+
push:
4+
branches:
5+
- "pull-request/[0-9]+"
36
env:
47
TRT_RTX_FILENAME: TensorRT-RTX-1.1.1.26.Linux.x86_64-gnu.cuda-12.9.tar.gz
58
TRTRTX_INSTALL_DIR: /opt/tensorrt_rtx
@@ -15,7 +18,8 @@ jobs:
1518
- name: Install uv
1619
uses: astral-sh/setup-uv@v6
1720
with:
18-
python-version: 3.9
21+
version: "0.8.22"
22+
python-version: "3.9"
1923

2024
- name: Set up Python
2125
run: uv python install

.github/workflows/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import tarfile
2222
from pathlib import Path
2323

24-
# Common environment variables
24+
# Shared constants
2525
TRT_RTX_BASE_URL = "https://developer.nvidia.com/downloads/trt/rtx_sdk/secure/1.1"
2626
TRT_RTX_FILENAME = os.environ.get("TRT_RTX_FILENAME","TensorRT-RTX-1.1.1.26.Linux.x86_64-gnu.cuda-12.9.tar.gz")
2727
TRTRTX_INSTALL_DIR = os.environ.get("TRTRTX_INSTALL_DIR", "/opt/tensorrt_rtx")

0 commit comments

Comments
 (0)