mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-23 18:21:52 +08:00
Some checks failed
API / API Lint (push) Waiting to run
Documentation / update-snippets (push) Waiting to run
Documentation / list-languages (push) Blocked by required conditions
Documentation / Sphinx (push) Blocked by required conditions
FOSSA / fossa-scan (push) Waiting to run
macOS / macos (push) Waiting to run
Migrations / postgresql (push) Waiting to run
mypy / mypy (push) Waiting to run
Pre-commit check / pre-commit (push) Waiting to run
pylint check / pylint (push) Waiting to run
Rundev / Test development Docker (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Distribution / Build packages (push) Waiting to run
Distribution / Lint packages (push) Blocked by required conditions
Distribution / Build release notes (push) Waiting to run
Distribution / Publish to PyPI (push) Blocked by required conditions
Distribution / Publish to GitHub (push) Blocked by required conditions
Test / py3.12, latest deps (push) Waiting to run
Test / py3.12, minimal deps (push) Waiting to run
Test / py3.13, latest deps (push) Waiting to run
Test / py3.14, latest deps (push) Waiting to run
Test / py3.14, edge deps (push) Waiting to run
Linkcheck / Linkcheck (push) Has been cancelled
jsonschema update / jsonschema-update (push) Has been cancelled
uv lock update / uv-update (push) Has been cancelled
* ci(services): use service containers instead of custom docker compose files * remove redis from test matrix * simplify ci test matrix * remove redundant CI_DATABASE checks * remove CI_DATABASE variable * CI_DATABASE is needed for migrations workflow * Update .github/workflows/migrations.yml * Update .github/workflows/migrations.yml --------- Co-authored-by: Michal Čihař <michal@cihar.com>
19 lines
351 B
Bash
Executable file
19 lines
351 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Copyright © Michal Čihař <michal@weblate.org>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
. ci/lib.sh
|
|
|
|
set -e
|
|
|
|
cleanup_database
|
|
|
|
if [ -n "$CI_DB_PASSWORD" ]; then
|
|
export PGPASSWORD="$CI_DB_PASSWORD"
|
|
fi
|
|
if [ -n "$CI_DB_PORT" ]; then
|
|
export PGPORT="$CI_DB_PORT"
|
|
fi
|
|
psql --host="$CI_DB_HOST" -c 'SELECT version();' -U postgres
|