element-web/.github/workflows/develop.yml

39 lines
1.5 KiB
YAML
Raw Normal View History

2021-06-09 11:17:12 +00:00
name: Develop jobs
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
2021-06-09 11:17:12 +00:00
end-to-end:
runs-on: ubuntu-latest
2021-06-09 11:17:49 +00:00
container: vectorim/element-web-ci-e2etests-env:latest
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: Download previous benchmark data
uses: actions/cache@v1
with:
path: ./cache
key: ${{ runner.os }}-benchmark
- name: Store benchmark result
2021-06-15 09:01:05 +00:00
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
2021-06-15 08:27:44 +00:00
# Personal access token to deploy GitHub Pages branch
2021-06-15 09:01:05 +00:00
github-token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
2021-06-15 08:27:44 +00:00
# Push and deploy GitHub pages branch automatically
auto-push: true
2021-06-15 09:01:05 +00:00
# auto-push: ${{ github.ref == 'refs/heads/develop' }}