9
9
pull_request :
10
10
branches :
11
11
- " *"
12
- env :
13
- OPENSEARCH_DASHBOARDS_VERSION : ' 2.x'
14
- OPENSEARCH_DASHBOARDS_FTREPO_VERSION : ' 2.x'
15
- ANOMALY_DETECTION_PLUGIN_VERSION : ' 2.x'
16
12
jobs :
17
13
test-without-security :
18
14
name : Run integ tests without security
41
37
uses : actions/checkout@v2
42
38
with :
43
39
repository : opensearch-project/OpenSearch-Dashboards
44
- ref : ${{ env.OPENSEARCH_DASHBOARDS_VERSION }}
40
+ ref : ' ${{ github.base_ref }}'
45
41
path : OpenSearch-Dashboards
46
42
47
43
- name : Checkout Anomaly Detection OpenSearch Dashboards plugin
71
67
with :
72
68
path : anomaly-detection
73
69
repository : opensearch-project/anomaly-detection
74
- ref : ${{ env.ANOMALY_DETECTION_PLUGIN_VERSION }}
70
+ ref : ' ${{ github.base_ref }}'
75
71
76
72
- name : Run OpenSearch with plugin
77
73
run : |
@@ -110,7 +106,7 @@ jobs:
110
106
with :
111
107
path : opensearch-dashboards-functional-test
112
108
repository : opensearch-project/opensearch-dashboards-functional-test
113
- ref : ${{ env.OPENSEARCH_DASHBOARDS_FTREPO_VERSION }}
109
+ ref : ' ${{ github.base_ref }}'
114
110
115
111
- name : Get Cypress version
116
112
id : cypress_version
@@ -132,6 +128,6 @@ jobs:
132
128
uses : cypress-io/github-action@v2
133
129
with :
134
130
working-directory : opensearch-dashboards-functional-test
135
- command : yarn run cypress run --env SECURITY_ENABLED=false --spec cypress/integration/plugins/anomaly-detection-dashboards-plugin/*.js
131
+ command : yarn run cypress run --env SECURITY_ENABLED=false --spec cypress/integration/plugins/anomaly-detection-dashboards-plugin/**/* .js
136
132
env :
137
133
CYPRESS_CACHE_FOLDER : ${{ matrix.cypress_cache_folder }}
0 commit comments