#3530 enhance sanity testing framework #343
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Assistant Release tests workflow in Bundled OpenSearch Dashboards | |
on: | |
pull_request: | |
branches: ['**'] | |
jobs: | |
changes: | |
runs-on: ubuntu-latest | |
outputs: | |
tests: ${{ steps.filter.outputs.tests }} | |
steps: | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
tests: | |
- 'cypress/**/dashboards-assistant/**' | |
- 'cypress/support/assistant-dummy-llm.js' | |
tests-with-security: | |
needs: changes | |
if: ${{ needs.changes.outputs.tests == 'true' }} | |
uses: ./.github/workflows/release-e2e-workflow-template.yml | |
with: | |
test-name: dashboards assistant | |
test-command: env CYPRESS_DASHBOARDS_ASSISTANT_ENABLED=true yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/dashboards-assistant/*' | |
osd-serve-args: --assistant.chat.enabled=true | |
tests-without-security: | |
needs: changes | |
if: ${{ needs.changes.outputs.tests == 'true' }} | |
uses: ./.github/workflows/release-e2e-workflow-template.yml | |
with: | |
test-name: dashboards assistant | |
test-command: env CYPRESS_DASHBOARDS_ASSISTANT_ENABLED=true yarn cypress:run-without-security --browser chromium --spec 'cypress/integration/plugins/dashboards-assistant/*' | |
osd-serve-args: --assistant.chat.enabled=true | |
security-enabled: false |