From d94c67596341b6a7fdc46e76f58d116de6bfc25f Mon Sep 17 00:00:00 2001 From: Tyler Ohlsen Date: Tue, 18 Jul 2023 16:57:24 -0700 Subject: [PATCH 1/2] Update cypress test cmd to include vis augmenter tests Signed-off-by: Tyler Ohlsen --- .github/workflows/remote-integ-tests-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/remote-integ-tests-workflow.yml b/.github/workflows/remote-integ-tests-workflow.yml index 3c8bd972..6b46b9f3 100644 --- a/.github/workflows/remote-integ-tests-workflow.yml +++ b/.github/workflows/remote-integ-tests-workflow.yml @@ -132,6 +132,6 @@ jobs: uses: cypress-io/github-action@v2 with: working-directory: opensearch-dashboards-functional-test - command: yarn run cypress run --env SECURITY_ENABLED=false --spec cypress/integration/plugins/anomaly-detection-dashboards-plugin/*.js + command: yarn run cypress run --env SECURITY_ENABLED=false --spec cypress/integration/plugins/anomaly-detection-dashboards-plugin/**/*.js env: CYPRESS_CACHE_FOLDER: ${{ matrix.cypress_cache_folder }} From 7b77d5242b171b5d66e74921bc0810f78376f151 Mon Sep 17 00:00:00 2001 From: Tyler Ohlsen Date: Wed, 19 Jul 2023 09:16:00 -0700 Subject: [PATCH 2/2] Clean up refs Signed-off-by: Tyler Ohlsen --- .github/workflows/remote-integ-tests-workflow.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/remote-integ-tests-workflow.yml b/.github/workflows/remote-integ-tests-workflow.yml index 6b46b9f3..950d9341 100644 --- a/.github/workflows/remote-integ-tests-workflow.yml +++ b/.github/workflows/remote-integ-tests-workflow.yml @@ -9,10 +9,6 @@ on: pull_request: branches: - "*" -env: - OPENSEARCH_DASHBOARDS_VERSION: 'main' - OPENSEARCH_DASHBOARDS_FTREPO_VERSION: 'main' - ANOMALY_DETECTION_PLUGIN_VERSION: 'main' jobs: test-without-security: name: Run integ tests without security @@ -41,7 +37,7 @@ jobs: uses: actions/checkout@v2 with: repository: opensearch-project/OpenSearch-Dashboards - ref: ${{ env.OPENSEARCH_DASHBOARDS_VERSION }} + ref: '${{ github.base_ref }}' path: OpenSearch-Dashboards - name: Checkout Anomaly Detection OpenSearch Dashboards plugin @@ -71,7 +67,7 @@ jobs: with: path: anomaly-detection repository: opensearch-project/anomaly-detection - ref: ${{ env.ANOMALY_DETECTION_PLUGIN_VERSION }} + ref: '${{ github.base_ref }}' - name: Run OpenSearch with plugin run: | @@ -110,7 +106,7 @@ jobs: with: path: opensearch-dashboards-functional-test repository: opensearch-project/opensearch-dashboards-functional-test - ref: ${{ env.OPENSEARCH_DASHBOARDS_FTREPO_VERSION }} + ref: '${{ github.base_ref }}' - name: Get Cypress version id: cypress_version