This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 831
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into sticky-video-rooms
- Loading branch information
Showing
36 changed files
with
1,538 additions
and
1,086 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,58 @@ | ||
name: End-to-end Tests | ||
on: | ||
# These tests won't work for non-develop branches at the moment as they | ||
# won't pull in the right versions of other repos, so they're only enabled | ||
# on develop. | ||
push: | ||
branches: [develop] | ||
pull_request: | ||
branches: [develop] | ||
# These tests won't work for non-develop branches at the moment as they | ||
# won't pull in the right versions of other repos, so they're only enabled | ||
# on develop. | ||
push: | ||
branches: [ develop ] | ||
pull_request: | ||
branches: [ develop ] | ||
repository_dispatch: | ||
types: [ upstream-sdk-notify ] | ||
jobs: | ||
end-to-end: | ||
runs-on: ubuntu-latest | ||
env: | ||
# This must be set for fetchdep.sh to get the right branch | ||
PR_NUMBER: ${{github.event.number}} | ||
container: vectorim/element-web-ci-e2etests-env:latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Prepare End-to-End tests | ||
run: ./scripts/ci/prepare-end-to-end-tests.sh | ||
- name: Run End-to-End tests | ||
run: ./scripts/ci/run-end-to-end-tests.sh | ||
- name: Archive logs | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
path: | | ||
test/end-to-end-tests/logs/**/* | ||
test/end-to-end-tests/synapse/installations/consent/homeserver.log | ||
retention-days: 14 | ||
- name: Download previous benchmark data | ||
uses: actions/cache@v1 | ||
with: | ||
path: ./cache | ||
key: ${{ runner.os }}-benchmark | ||
- name: Store benchmark result | ||
uses: matrix-org/github-action-benchmark@jsperfentry-1 | ||
with: | ||
tool: 'jsperformanceentry' | ||
output-file-path: test/end-to-end-tests/performance-entries.json | ||
fail-on-alert: false | ||
comment-on-alert: false | ||
# Only temporary to monitor where failures occur | ||
alert-comment-cc-users: '@gsouquet' | ||
github-token: ${{ secrets.DEPLOY_GH_PAGES }} | ||
auto-push: ${{ github.ref == 'refs/heads/develop' }} | ||
end-to-end: | ||
runs-on: ubuntu-latest | ||
env: | ||
# This must be set for fetchdep.sh to get the right branch | ||
PR_NUMBER: ${{github.event.number}} | ||
container: vectorim/element-web-ci-e2etests-env:latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: 'yarn' | ||
|
||
- name: Prepare End-to-End tests | ||
run: ./scripts/ci/prepare-end-to-end-tests.sh | ||
|
||
- name: Run End-to-End tests | ||
run: ./scripts/ci/run-end-to-end-tests.sh | ||
|
||
- name: Archive logs | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
path: | | ||
test/end-to-end-tests/logs/**/* | ||
test/end-to-end-tests/synapse/installations/consent/homeserver.log | ||
retention-days: 14 | ||
- name: Download previous benchmark data | ||
uses: actions/cache@v1 | ||
with: | ||
path: ./cache | ||
key: ${{ runner.os }}-benchmark | ||
|
||
- name: Store benchmark result | ||
uses: matrix-org/github-action-benchmark@jsperfentry-1 | ||
with: | ||
tool: 'jsperformanceentry' | ||
output-file-path: test/end-to-end-tests/performance-entries.json | ||
fail-on-alert: false | ||
comment-on-alert: false | ||
# Only temporary to monitor where failures occur | ||
alert-comment-cc-users: '@gsouquet' | ||
github-token: ${{ secrets.DEPLOY_GH_PAGES }} | ||
auto-push: ${{ github.ref == 'refs/heads/develop' }} |
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
Oops, something went wrong.