File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches : [ 'master' ]
6+ pull_request :
7+
8+ jobs :
9+ lint :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - run : sudo apt-get -qq install libolm-dev
14+ - uses : golangci/golangci-lint-action@v2
15+ with :
16+ version : v1.39
17+ args : ./internal/... ./tests/...
18+
19+ complement :
20+ needs : lint
21+ runs-on : ubuntu-latest
22+ strategy :
23+ matrix :
24+ include :
25+ - homeserver : Synapse
26+ tags : synapse_blacklist
27+
28+ - homeserver : Dendrite
29+ tags : msc2836
30+
31+ container :
32+ image : matrixdotorg/complement # dockerfiles/ComplementCIBuildkite.Dockerfile
33+ env :
34+ CI : true
35+ DOCKER_BUILDKIT : 1
36+ ports :
37+ - 8448:8448
38+ volumes :
39+ - /var/run/docker.sock:/var/run/docker.sock
40+
41+ steps :
42+ - uses : actions/checkout@v2
43+ - run : docker build -t homeserver -f dockerfiles/${{ matrix.homeserver }}.Dockerfile dockerfiles/
44+ - run : go test -v -tags "${{ matrix.tags }}" ./tests
45+ env :
46+ COMPLEMENT_BASE_IMAGE : homeserver
You can’t perform that action at this time.
0 commit comments