Run cypress tests with security (#1202) #8
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: E2E tests workflow | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- "*" | |
env: | |
OPENSEARCH_DASHBOARDS_VERSION: 'main' | |
OPENSEARCH_VERSION: '3.0.0-SNAPSHOT' | |
jobs: | |
tests: | |
name: Run Cypress E2E tests with security | |
runs-on: ubuntu-latest | |
env: | |
# prevents extra Cypress installation progress messages | |
CI: 1 | |
# avoid warnings like "tput: No value for $TERM and no -T specified" | |
TERM: xterm | |
steps: | |
- name: Checkout Branch | |
uses: actions/checkout@v3 | |
- id: run-cypress-tests | |
uses: ./.github/actions/run-cypress-tests | |
with: | |
with-security: true |