2021-06-09 19:17:12 +08:00
|
|
|
name: Develop jobs
|
2021-06-09 17:38:28 +08:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [develop]
|
|
|
|
pull_request:
|
|
|
|
branches: [develop]
|
2021-06-08 19:52:32 +08:00
|
|
|
jobs:
|
2021-06-09 19:17:12 +08:00
|
|
|
end-to-end:
|
2021-06-08 19:52:32 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: bash
|
|
|
|
working-directory: ${{ github.workspace }}
|
|
|
|
container:
|
|
|
|
image: vectorim/element-web-ci-e2etests-env:latest
|
|
|
|
env:
|
|
|
|
CI_PACKAGE: true
|
|
|
|
GITHUB_HEAD_REF: ${{ github.head_ref }}
|
|
|
|
GITHUB_BASE_REF: ${{ github.base_ref }}
|
|
|
|
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
|
|
|
|
- name: Archive performance benchmark
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: performance-entries.json
|
|
|
|
path: test/end-to-end-tests/performance-entries.json
|