mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-22 19:51:39 +00:00
ec95d331a5
This will be used in the future by Buildkite to run on CI.
20 lines
578 B
Bash
Executable File
20 lines
578 B
Bash
Executable File
#! /bin/bash -eu
|
|
# This script is designed for developers who want to test their Dendrite code
|
|
# against Complement.
|
|
#
|
|
# It makes a Dendrite image which represents the current checkout,
|
|
# then downloads Complement and runs it with that image.
|
|
|
|
# Make image
|
|
cd `dirname $0`/../..
|
|
docker build -t complement-dendrite -f build/scripts/Complement.Dockerfile .
|
|
|
|
# Download Complement
|
|
wget https://github.com/matrix-org/complement/archive/master.tar.gz
|
|
tar -xzf master.tar.gz
|
|
|
|
# Run the tests!
|
|
cd complement-master
|
|
COMPLEMENT_BASE_IMAGE=complement-dendrite:latest go test -v ./tests
|
|
|