mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-18 08:42:55 +02:00
Merge c6435674a35171f1e5024799c4a66f89ae0fe66d into 56eccb49954dbb561f4360481c3e52de92080f20
This commit is contained in:
commit
9a129aed7a
18
.github/workflows/pull-db-tests.yml
vendored
18
.github/workflows/pull-db-tests.yml
vendored
@ -13,11 +13,15 @@ jobs:
|
||||
|
||||
test-pgsql:
|
||||
if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.actions == 'true'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
postgres: ["14", "latest"]
|
||||
needs: files-changed
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
pgsql:
|
||||
image: postgres:14
|
||||
image: postgres:${{ matrix.postgres }}
|
||||
env:
|
||||
POSTGRES_DB: test
|
||||
POSTGRES_PASSWORD: postgres
|
||||
@ -150,12 +154,16 @@ jobs:
|
||||
|
||||
test-mysql:
|
||||
if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.actions == 'true'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
mysql: ["8.0", "latest"]
|
||||
needs: files-changed
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
mysql:
|
||||
# the bitnami mysql image has more options than the official one, it's easier to customize
|
||||
image: bitnami/mysql:8.0
|
||||
image: bitnami/mysql:${{ matrix.mysql }}
|
||||
env:
|
||||
ALLOW_EMPTY_PASSWORD: true
|
||||
MYSQL_DATABASE: testgitea
|
||||
@ -201,11 +209,15 @@ jobs:
|
||||
|
||||
test-mssql:
|
||||
if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.actions == 'true'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
mssql: ["2019-latest", "latest"]
|
||||
needs: files-changed
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
mssql:
|
||||
image: mcr.microsoft.com/mssql/server:2019-latest
|
||||
image: mcr.microsoft.com/mssql/server:${{ matrix.mssql }}
|
||||
env:
|
||||
ACCEPT_EULA: Y
|
||||
MSSQL_PID: Standard
|
||||
|
Loading…
x
Reference in New Issue
Block a user