Skip to content

Commit 8cd6bde

Browse files
skip generative tests in CICD
1 parent e3019b8 commit 8cd6bde

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/build-test-models.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Build test models
22

3-
on: workflow_dispatch
3+
# on: workflow_dispatch
4+
5+
on:
6+
push:
7+
branches:
8+
- '**'
49

510
permissions:
611
contents: write

testData/downloadModels.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ func main() {
4848
}
4949
}
5050
for _, model := range models {
51+
if os.Getenv("CI") != "" && model.name == "KnightsAnalytics/Phi-3.5-mini-instruct-onnx" {
52+
continue // skipping this model for cicd
53+
}
54+
5155
if ok, err = util.FileExists("./models/" + strings.Replace(model.name, "/", "_", -1)); err == nil {
5256
if !ok {
5357
options := hugot.NewDownloadOptions()

0 commit comments

Comments
 (0)