Trying to change Cypress basu URL
authorDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 15 Apr 2020 22:06:24 +0000 (00:06 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 15 Apr 2020 22:06:24 +0000 (00:06 +0200)
.github/workflows/build-and-deploy.yml

index 0f745b3650f5083af1509f4c56384ef1911c0378..6d67789900535b60f9643b95ee794739a40aaf5a 100644 (file)
@@ -86,6 +86,8 @@ jobs:
 
       - name: Run Cypress tests
         uses: cypress-io/github-action@v1
+        env:
+          CYPRESS_BASE_URL: http://${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com
         with:
           env: host=${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com,port=80
           spec: cypress/integration/spec1.js