mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
commit
b9730b0393
1 changed files with 9 additions and 6 deletions
15
.github/workflows/cypress.yml
vendored
15
.github/workflows/cypress.yml
vendored
|
|
@ -33,11 +33,12 @@ jobs:
|
|||
sleep 1
|
||||
done
|
||||
|
||||
# - name: Getting cypress secrets
|
||||
# # use quotes around the secret, as its value
|
||||
# # is simply inserted as a string into the command
|
||||
# run: |
|
||||
# echo '${{ secrets.CYPRESS_SECRETS }}' > cypress.env.json
|
||||
- name: create-json
|
||||
id: create-json
|
||||
uses: jsdaniell/create-json@v1.2.2
|
||||
with:
|
||||
name: "cypress.env.json"
|
||||
json: ${{ secrets.CYPRESS_SECRETS }}
|
||||
|
||||
- name: Cypress integration test
|
||||
uses: cypress-io/github-action@v5
|
||||
|
|
@ -45,7 +46,9 @@ jobs:
|
|||
working-directory: ./cypress-tests
|
||||
config: "baseUrl=https://tooljet-pr-${{ env.PR_NUMBER }}.onrender.com"
|
||||
config-file: cypress-run.config.js
|
||||
env: ${{ secrets.CYPRESS_SECRETS }}
|
||||
# env: true
|
||||
# env:
|
||||
# CYPRESS_SECRETS: ${{ secrets.CYPRESS_SECRETS }}
|
||||
|
||||
- name: Capturing screenshots
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
|
|||
Loading…
Reference in a new issue