Use sytest dendrite branch

This commit is contained in:
Till Faelligen 2022-11-30 14:15:20 +01:00
parent ae13d18383
commit 46e03f75dd
No known key found for this signature in database
GPG key ID: ACCDC9606D472758
2 changed files with 25 additions and 1 deletions

View file

@ -312,6 +312,7 @@ jobs:
image: matrixdotorg/sytest-dendrite:latest image: matrixdotorg/sytest-dendrite:latest
volumes: volumes:
- ${{ github.workspace }}:/src - ${{ github.workspace }}:/src
- ${{ github.workspace }}/sytest:/sytest
- /root/.cache/go-build:/github/home/.cache/go-build - /root/.cache/go-build:/github/home/.cache/go-build
- /root/.cache/go-mod:/gopath/pkg/mod - /root/.cache/go-mod:/gopath/pkg/mod
env: env:
@ -321,6 +322,12 @@ jobs:
CGO_ENABLED: ${{ matrix.cgo && 1 }} CGO_ENABLED: ${{ matrix.cgo && 1 }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Checkout matrix-org/sytest:dendrite
uses: actions/checkout@v3
with:
path: sytest
repository: matrix-org/sytest
ref: dendrite
- uses: actions/cache@v3 - uses: actions/cache@v3
with: with:
path: | path: |

View file

@ -34,13 +34,30 @@ jobs:
image: matrixdotorg/sytest-dendrite:latest image: matrixdotorg/sytest-dendrite:latest
volumes: volumes:
- ${{ github.workspace }}:/src - ${{ github.workspace }}:/src
- ${{ github.workspace }}/sytest:/sytest
- /root/.cache/go-build:/github/home/.cache/go-build
- /root/.cache/go-mod:/gopath/pkg/mod
env: env:
POSTGRES: ${{ matrix.postgres && 1}} POSTGRES: ${{ matrix.postgres && 1}}
API: ${{ matrix.api && 1 }} API: ${{ matrix.api && 1 }}
SYTEST_BRANCH: ${{ github.head_ref }} SYTEST_BRANCH: ${{ github.head_ref }}
RACE_DETECTION: 1 RACE_DETECTION: 1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Checkout matrix-org/sytest:dendrite
uses: actions/checkout@v3
with:
path: sytest
repository: matrix-org/sytest
ref: dendrite
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
/gopath/pkg/mod
key: ${{ runner.os }}-go-sytest-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-sytest-
- name: Run Sytest - name: Run Sytest
run: /bootstrap.sh dendrite run: /bootstrap.sh dendrite
working-directory: /src working-directory: /src