CI refactor

This commit is contained in:
grillazz
2025-11-18 18:27:45 +01:00
parent 4c20ea5ac0
commit 83138b3b1c

View File

@@ -34,7 +34,7 @@ jobs:
ports: ports:
- 6379:6379 - 6379:6379
sqldb: sqldb:
image: postgres:16 image: postgres:17
env: env:
POSTGRES_USER: panettone POSTGRES_USER: panettone
POSTGRES_PASSWORD: secret POSTGRES_PASSWORD: secret
@@ -45,12 +45,12 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- name: Create database schema - name: Create database schema
run: PGPASSWORD=secret psql -h 127.0.0.1 -d testdb -U panettone -c "CREATE SCHEMA shakespeare; CREATE SCHEMA happy_hog;" run: PGPASSWORD=secret psql -h 127.0.0.1 -d testdb -U panettone -c "CREATE SCHEMA shakespeare; CREATE SCHEMA happy_hog;"
- name: Install the latest version of uv and set the python version - name: Install the latest version of uv
uses: astral-sh/setup-uv@v5 uses: astral-sh/setup-uv@v7
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}