Cypress use the simulated merge commit for the source of tests (#10688)
* Cypress use the simulated merge commit for the source of tests * Add comments * Update .github/workflows/cypress.yaml Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --------- Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
2486e7a90a
commit
25ac825ae5
2 changed files with 22 additions and 9 deletions
2
.github/workflows/element-web.yaml
vendored
2
.github/workflows/element-web.yaml
vendored
|
@ -43,6 +43,7 @@ jobs:
|
|||
run: cp element.io/develop/config.json config.json
|
||||
working-directory: ./element-web
|
||||
|
||||
# After building we write the version file and the react-sdk sha so our cypress tests are from the same sha
|
||||
- name: Build
|
||||
env:
|
||||
CI_PACKAGE: true
|
||||
|
@ -50,6 +51,7 @@ jobs:
|
|||
run: |
|
||||
yarn build
|
||||
echo $VERSION > webapp/version
|
||||
echo $GITHUB_SHA > webapp/sha
|
||||
working-directory: ./element-web
|
||||
|
||||
- name: Upload Artifact
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue