mirror of
https://github.com/go-gorm/gorm.git
synced 2025-03-14 09:56:52 +00:00
Update tests script
This commit is contained in:
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
sqlite:
|
||||
strategy:
|
||||
matrix:
|
||||
go: ['1.22', '1.21', '1.20']
|
||||
go: ['1.23', '1.24']
|
||||
platform: [ubuntu-latest] # can not run in windows OS
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
@ -42,7 +42,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
dbversion: ['mysql/mysql-server:latest', 'mysql:5.7']
|
||||
go: ['1.22', '1.21', '1.20']
|
||||
go: ['1.23', '1.24']
|
||||
platform: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
@ -85,7 +85,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
dbversion: [ 'mariadb:latest' ]
|
||||
go: ['1.22', '1.21', '1.20']
|
||||
go: ['1.23', '1.24']
|
||||
platform: [ ubuntu-latest ]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
@ -128,7 +128,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
dbversion: ['postgres:latest', 'postgres:15', 'postgres:14', 'postgres:13']
|
||||
go: ['1.22', '1.21', '1.20']
|
||||
go: ['1.23', '1.24']
|
||||
platform: [ubuntu-latest] # can not run in macOS and Windows
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
@ -170,7 +170,7 @@ jobs:
|
||||
sqlserver:
|
||||
strategy:
|
||||
matrix:
|
||||
go: ['1.22', '1.21', '1.20']
|
||||
go: ['1.23', '1.24']
|
||||
platform: [ubuntu-latest] # can not run test in macOS and windows
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
@ -212,7 +212,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
dbversion: [ 'v6.5.0' ]
|
||||
go: ['1.22', '1.21', '1.20']
|
||||
go: ['1.23', '1.24']
|
||||
platform: [ ubuntu-latest ]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
|
Reference in New Issue
Block a user