diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-10-04 19:42:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 11:42:02 +0000 |
commit | 74763f50aed7a1d9453a8da29da7c7a1a5a4bd56 (patch) | |
tree | b51747e3de2fbb621aef2c3a7e53358759620fa1 /.github/workflows | |
parent | df56b1bf926e6ba25fb04f5d7835c65c079f543b (diff) | |
download | gitea-74763f50aed7a1d9453a8da29da7c7a1a5a4bd56.tar.gz gitea-74763f50aed7a1d9453a8da29da7c7a1a5a4bd56.zip |
Use minimal required version on CI and remove unnecessary services (#27429)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pull-db-tests.yml | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/.github/workflows/pull-db-tests.yml b/.github/workflows/pull-db-tests.yml index c4005648b7..9fcdea44ee 100644 --- a/.github/workflows/pull-db-tests.yml +++ b/.github/workflows/pull-db-tests.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest services: pgsql: - image: postgres:16 + image: postgres:12 env: POSTGRES_DB: test POSTGRES_PASSWORD: postgres @@ -85,13 +85,6 @@ jobs: needs: files-changed runs-on: ubuntu-latest services: - mysql: - image: mysql:8.1 - env: - MYSQL_ALLOW_EMPTY_PASSWORD: true - MYSQL_DATABASE: test - ports: - - "3306:3306" elasticsearch: image: elasticsearch:7.5.0 env: @@ -104,13 +97,6 @@ jobs: MEILI_ENV: development # disable auth ports: - "7700:7700" - smtpimap: - image: tabascoterrier/docker-imap-devel:latest - ports: - - "25:25" - - "143:143" - - "587:587" - - "993:993" redis: image: redis options: >- # wait until redis has started @@ -158,7 +144,7 @@ jobs: runs-on: ubuntu-latest services: mysql: - image: mysql:8.1 + image: mysql:8.0 env: MYSQL_ALLOW_EMPTY_PASSWORD: true MYSQL_DATABASE: testgitea @@ -203,7 +189,7 @@ jobs: runs-on: ubuntu-latest services: mssql: - image: mcr.microsoft.com/mssql/server:2022-latest + image: mcr.microsoft.com/mssql/server:2017-latest env: ACCEPT_EULA: Y MSSQL_PID: Standard |