Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit f3d23b9

Browse files
committed
Update CI trigger by including .github/scripts/**
1 parent 59d1f3d commit f3d23b9

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/scripts/e2e-test-windows.bat

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,15 @@ if "%error_occurred%"=="1" (
8989
exit /b 1
9090
)
9191

92+
93+
echo ----------------------
94+
echo Log load model:
95+
type %TEMP%\response1.log
96+
97+
echo ----------------------
98+
echo "Log run test:"
99+
type %TEMP%\response2.log
100+
92101
echo Nitro test run successfully!
93102

94103
rem Kill the server process

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ on:
55
branches:
66
- main
77
tags: ['v*.*.*']
8-
paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu']
8+
paths: ['.github/scripts/**','.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu']
99
pull_request:
1010
types: [opened, synchronize, reopened]
11-
paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu']
11+
paths: ['.github/scripts/**','.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu']
1212

1313
env:
1414
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
@@ -76,7 +76,7 @@ jobs:
7676
7777
# run e2e testing
7878
cd nitro
79-
../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
79+
chmod +x ../.github/scripts/e2e-test-linux-and-mac.sh && ../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
8080
cd ..
8181
8282
zip -r nitro.zip nitro
@@ -127,7 +127,7 @@ jobs:
127127
128128
# run e2e testing
129129
cd nitro
130-
../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
130+
chmod +x ../.github/scripts/e2e-test-linux-and-mac.sh && ../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
131131
cd ..
132132
133133
zip -r nitro.zip nitro
@@ -180,7 +180,7 @@ jobs:
180180
181181
# run e2e testing
182182
cd nitro
183-
../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
183+
chmod +x ../.github/scripts/e2e-test-linux-and-mac.sh && ../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
184184
cd ..
185185
186186
zip -r nitro.zip nitro
@@ -231,7 +231,7 @@ jobs:
231231
232232
# run e2e testing
233233
cd nitro
234-
../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
234+
chmod +x ../.github/scripts/e2e-test-linux-and-mac.sh && ../.github/scripts/e2e-test-linux-and-mac.sh ./nitro ${{ env.MODEL_URL }}
235235
cd ..
236236
237237
zip -r nitro.zip nitro

0 commit comments

Comments
 (0)