chore(ci): use same pg version 18
This commit is contained in:
@@ -179,7 +179,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:18-alpine
|
||||||
env:
|
env:
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:18-alpine
|
||||||
env:
|
env:
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ test-integration:
|
|||||||
DATABASE_URL='postgres://oxicloud_test:oxicloud_test@localhost:5433/oxicloud_test' \
|
DATABASE_URL='postgres://oxicloud_test:oxicloud_test@localhost:5433/oxicloud_test' \
|
||||||
RUSTFLAGS='--cfg integration_tests' \
|
RUSTFLAGS='--cfg integration_tests' \
|
||||||
cargo test --workspace --tests
|
cargo test --workspace --tests
|
||||||
|
bash tests/common/stop-db.sh
|
||||||
|
|
||||||
test-one name:
|
test-one name:
|
||||||
cargo test {{name}}
|
cargo test {{name}}
|
||||||
|
|||||||
Reference in New Issue
Block a user