diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-11-11 11:21:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 11:21:16 +0000 |
commit | 72ce6acf7176ac9e597e4fd6587605199e9e0d7f (patch) | |
tree | ade1b782283314bfe5534a43729ca69b92531977 /.github | |
parent | c648c671a326f2d626cf34db52cbcc9999b95bba (diff) |
Run upgrade tests for SQLite too (#2875)
This should hopefully catch problems with database migrations in SQLite
as well as PostgreSQL.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/dendrite.yml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/dendrite.yml b/.github/workflows/dendrite.yml index a37e45e4..f96cbadd 100644 --- a/.github/workflows/dendrite.yml +++ b/.github/workflows/dendrite.yml @@ -231,8 +231,10 @@ jobs: ${{ runner.os }}-go-upgrade - name: Build upgrade-tests run: go build ./cmd/dendrite-upgrade-tests - - name: Test upgrade + - name: Test upgrade (PostgreSQL) run: ./dendrite-upgrade-tests --head . + - name: Test upgrade (SQLite) + run: ./dendrite-upgrade-tests --sqlite --head . # run database upgrade tests, skipping over one version upgrade_test_direct: @@ -256,7 +258,9 @@ jobs: ${{ runner.os }}-go-upgrade - name: Build upgrade-tests run: go build ./cmd/dendrite-upgrade-tests - - name: Test upgrade + - name: Test upgrade (PostgreSQL) + run: ./dendrite-upgrade-tests -direct -from HEAD-2 --head . + - name: Test upgrade (SQLite) run: ./dendrite-upgrade-tests -direct -from HEAD-2 --head . # run Sytest in different variations @@ -434,7 +438,7 @@ jobs: permissions: packages: write contents: read - security-events: write # To upload Trivy sarif files + security-events: write # To upload Trivy sarif files if: github.repository == 'matrix-org/dendrite' && github.ref_name == 'main' needs: [integration-tests-done] uses: matrix-org/dendrite/.github/workflows/docker.yml@main |