Skip to content

Commit a87645b

Browse files
authored
Merge pull request #413 from simvue-io/hotfix/ci-manual
Fix tests with resource metrics interval and add manual CI trigger
2 parents daa52f9 + b531995 commit a87645b

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed

.github/workflows/test_client_macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ "main", "dev", "hotfix/update-ci" ]
66
pull_request:
77
branches: [ "main", "dev", "hotfix/update-ci" ]
8+
workflow_dispatch:
89

910
permissions:
1011
contents: read

.github/workflows/test_client_ubuntu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches: [ "main", "dev", "hotfix/update-ci" ]
99
pull_request:
1010
branches: [ "main", "dev", "hotfix/update-ci" ]
11+
workflow_dispatch:
1112

1213
permissions:
1314
contents: read

.github/workflows/test_client_windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ "main", "dev", "hotfix/update-ci" ]
66
pull_request:
77
branches: [ "main", "dev", "hotfix/update-ci" ]
8+
workflow_dispatch:
89

910
permissions:
1011
contents: read

.github/workflows/test_multiple_python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
push:
88
tags:
99
- 'v*-*-rc*'
10+
workflow_dispatch:
1011

1112
permissions:
1213
contents: read

tests/refactor/test_run_class.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def test_log_metrics(
6262
folder="/simvue_unit_testing",
6363
retention_period="1 hour",
6464
visibility=visibility,
65-
resources_metrics_interval=1,
6665
)
66+
run.config(resources_metrics_interval=1)
6767
return
6868

6969
run.init(
@@ -74,9 +74,9 @@ def test_log_metrics(
7474
],
7575
folder="/simvue_unit_testing",
7676
visibility=visibility,
77-
resources_metrics_interval=1,
7877
retention_period="1 hour",
7978
)
79+
run.config(resources_metrics_interval=1)
8080

8181
# Speed up the read rate for this test
8282
run._dispatcher._max_buffer_size = 10

0 commit comments

Comments
 (0)