Browse Source

ci(cypress): use env variable for key

documentation ref: https://docs.cypress.io/guides/guides/command-line\#cypress-run
develop
Rucha Mahabal 3 years ago
parent
commit
2c3866a53e
  1. 2
      .github/workflows/ui-tests.yml

2
.github/workflows/ui-tests.yml

@ -101,7 +101,7 @@ jobs:
- name: UI Tests - name: UI Tests
run: cd ~/frappe-bench/ && bench --site test_site run-ui-tests erpnext --headless run: cd ~/frappe-bench/ && bench --site test_site run-ui-tests erpnext --headless
env: env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} CYPRESS_RECORD_KEY: 60a8e3bf-08f5-45b1-9269-2b207d7d30cd
- name: Show bench console if tests failed - name: Show bench console if tests failed
if: ${{ failure() }} if: ${{ failure() }}

Loading…
Cancel
Save