Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Migrate end to end tests to GitHub actions #6156

Merged
merged 4 commits into from
Jun 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "end-to-end_tests"
germain-gg marked this conversation as resolved.
Show resolved Hide resolved
on: [push]
germain-gg marked this conversation as resolved.
Show resolved Hide resolved
jobs:
"end-to-end_tests":
germain-gg marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
defaults:
run:
shell: bash
germain-gg marked this conversation as resolved.
Show resolved Hide resolved
working-directory: ${{ github.workspace }}
germain-gg marked this conversation as resolved.
Show resolved Hide resolved
container:
image: vectorim/element-web-ci-e2etests-env:latest
env:
CI_PACKAGE: true
GITHUB_HEAD_REF: ${{ github.head_ref }}
germain-gg marked this conversation as resolved.
Show resolved Hide resolved
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