mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-26 07:59:21 +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>
15 lines
380 B
Bash
15 lines
380 B
Bash
# Copyright © Michal Čihař <michal@weblate.org>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
# Simple way to configure test database from environment
|
|
|
|
# shellcheck shell=sh
|
|
|
|
# Database server configuration
|
|
export CI_DB_USER=weblate
|
|
export CI_DB_PASSWORD=weblate
|
|
export CI_DB_HOST=127.0.0.1
|
|
|
|
# Django settings module to use
|
|
export DJANGO_SETTINGS_MODULE=weblate.settings_test
|