2021-06-09 14:17:12 +03:00
|
|
|
name: Develop jobs
|
2021-06-09 12:38:28 +03:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [develop]
|
|
|
|
pull_request:
|
|
|
|
branches: [develop]
|
2021-06-08 14:52:32 +03:00
|
|
|
jobs:
|
2021-06-09 14:17:12 +03:00
|
|
|
end-to-end:
|
2021-06-08 14:52:32 +03:00
|
|
|
runs-on: ubuntu-latest
|
2021-06-09 14:17:49 +03:00
|
|
|
container: vectorim/element-web-ci-e2etests-env:latest
|
2021-06-08 14:52:32 +03:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: End-to-End tests
|
|
|
|
run: ./scripts/ci/end-to-end-tests.sh
|
|
|
|
- name: Archive logs
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
test/end-to-end-tests/logs/**/*
|
|
|
|
test/end-to-end-tests/synapse/installations/consent/homeserver.log
|
|
|
|
retention-days: 14
|
2021-06-14 16:53:22 +03:00
|
|
|
- name: Download previous benchmark data
|
|
|
|
uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
path: ./cache
|
|
|
|
key: ${{ runner.os }}-benchmark
|
|
|
|
- name: Store benchmark result
|
2021-06-15 12:01:05 +03:00
|
|
|
uses: matrix-org/github-action-benchmark@jsperfentry-1
|
2021-06-08 14:52:32 +03:00
|
|
|
with:
|
2021-06-14 16:53:22 +03:00
|
|
|
tool: 'jsperformanceentry'
|
|
|
|
output-file-path: test/end-to-end-tests/performance-entries.json
|
|
|
|
fail-on-alert: false
|
2021-06-15 16:47:45 +03:00
|
|
|
# Secrets are not passed to fork, the action won't be able to comment
|
|
|
|
# for community PRs
|
|
|
|
comment-on-alert: ${{ github.repository_owner == 'matrix-org' }}
|
2021-06-15 12:59:57 +03:00
|
|
|
# Only temporary to monitor where failures occur
|
|
|
|
alert-comment-cc-users: '@gsouquet'
|
2021-06-15 12:10:22 +03:00
|
|
|
github-token: ${{ secrets.DEPLOY_GH_PAGES }}
|
2021-06-15 12:59:57 +03:00
|
|
|
auto-push: ${{ github.ref == 'refs/heads/develop' }}
|