Add SyTest support to CI (#704)
Adds SyTest CI through CircleCI. Also need to add all the tests that currently pass to testfile, but I don't think that's a hard blocker for merging.
This commit is contained in:
parent
e1ec98e248
commit
1667a4b09f
6 changed files with 105 additions and 1 deletions
35
.circleci/config.yml
Normal file
35
.circleci/config.yml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
version: 2
|
||||
jobs:
|
||||
dendrite:
|
||||
docker:
|
||||
- image: matrixdotorg/sytest-dendrite
|
||||
working_directory: /src
|
||||
steps:
|
||||
- checkout
|
||||
|
||||
# Set up dendrite
|
||||
- run:
|
||||
name: Build Dendrite
|
||||
command: ./build.sh
|
||||
- run:
|
||||
name: Copy dummy keys to root
|
||||
command: |
|
||||
mv .circleci/matrix_key.pem .
|
||||
mv .circleci/server.key .
|
||||
- run:
|
||||
name: Run sytest with whitelisted tests
|
||||
command: /dendrite_sytest.sh
|
||||
|
||||
- store_artifacts:
|
||||
path: /logs
|
||||
destination: logs
|
||||
- store_test_results:
|
||||
path: /logs
|
||||
workflows:
|
||||
version: 2
|
||||
build:
|
||||
jobs:
|
||||
- dendrite:
|
||||
filters:
|
||||
branches:
|
||||
only: master
|
||||
Loading…
Add table
Add a link
Reference in a new issue