mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-26 10:52:09 +08:00
51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
# Copyright © Michal Čihař <michal@weblate.org>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
name: Rundev
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- renovate/**
|
|
- weblate
|
|
- dependabot/**
|
|
- copilot/**
|
|
- codex/**
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
rundev:
|
|
runs-on: ubuntu-24.04
|
|
name: Test development Docker
|
|
env:
|
|
PYTHONUNBUFFERED: 1
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
|
with:
|
|
path: /tmp/cache/tesseract
|
|
key: tesseract-data
|
|
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
|
|
with:
|
|
enable-cache: false
|
|
version: 0.11.6
|
|
- run: ./rundev.sh build
|
|
- run: ./rundev.sh start
|
|
- run: ./rundev.sh wait
|
|
- run: ./rundev.sh check
|
|
- run: ./rundev.sh compilemessages
|
|
- run: ./rundev.sh test --exitfirst
|
|
- run: ./rundev.sh test weblate/checks/tests/test_chars_checks.py
|
|
- run: ./rundev.sh logs
|
|
if: always()
|
|
- run: ./rundev.sh stop
|