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: Cypress 12 experimental tests | ||
on: | ||
push: | ||
branches: ['**'] | ||
pull_request: | ||
branches: ['**'] | ||
paths-ignore: | ||
- '**/*.md' | ||
- 'docs/**' | ||
- '.lycheeignore' | ||
- 'CODEOWNERS' | ||
- 'changelogs/fragments/**' | ||
env: | ||
CYPRESS_BROWSER: 'chromium' | ||
CYPRESS_VISBUILDER_ENABLED: true | ||
CYPRESS_DATASOURCE_MANAGEMENT_ENABLED: false | ||
OSD_SNAPSHOT_SKIP_VERIFY_CHECKSUM: true | ||
NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' | ||
COMMENT_TAG: '[MANUAL CYPRESS TEST RUN RESULTS]' | ||
COMMENT_SUCCESS_MSG: ':white_check_mark: Cypress test run succeeded!' | ||
COMMENT_FAILURE_MSG: ':x: Cypress test run failed!' | ||
LATEST_VERSION: '3.0.0' | ||
COVERAGE: true | ||
COMBINATIONS: | ||
- [] | ||
- - SECURITY | ||
- - SECURITY | ||
- WORKSPACE | ||
jobs: | ||
trigger-cypress-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Trigger tests for combinations | ||
run: | | ||
for combo in "${COMBINATIONS[@]}"; do | ||
echo "Triggering tests with combination: ${combo[*]}" | ||
inputs="" | ||
for var in "${combo[@]}"; do | ||
inputs="$inputs -f $var=true" | ||
done | ||
echo "Input: ${inputs}" | ||
done |