ibus-typing-booster/tests/tests.yml

70 lines
1.9 KiB
YAML
Raw Normal View History

- hosts: localhost
vars:
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
tags:
- classic
remote_user: root
roles:
- role: standard-test-source # to get the source tar ball to do “make check”
- role: standard-test-basic
required_packages:
- make
- m17n-lib
- m17n-db-extras
- python3-enchant
- libappstream-glib
- desktop-file-utils
- python3-mock
- python3-gobject
- python3-gobject-base
- hunspell-cs
- hunspell-de
- hunspell-en
- hunspell-es
- hunspell-fr
- hunspell-it
- hunspell-ko
- glib2
- gtk3
- dconf
- dbus-x11
- ibus
- ibus-devel
- gcc
- python3-devel
- python3-pyxdg
- xorg-x11-server-Xvfb
- glibc-langpack-en
- glibc-langpack-cs
- glibc-langpack-km
- glibc-langpack-pt
- glibc-langpack-am
- glibc-langpack-de
- glibc-langpack-ar
tests:
- make-check:
dir: ./
run: bash ./make_check.sh ./source
- doctests-hunspell_suggest.py:
dir: ./
run: bash ./run_python_doctests.sh hunspell_suggest.py
- doctests-m17n_translit.py:
dir: ./
run: bash ./run_python_doctests.sh m17n_translit.py
- doctests-itb_util.py:
dir: ./
run: bash ./run_python_doctests.sh itb_util.py
# Better do not run the doctests for itb_emoji in CI.
# CI is run in the installed system where the emoji
# annotation data is in the package cldr-emoji-annotation.
# The data in that package is often a bit older than the emoji annotation
# data in the source of ibus-typing-booster, therefore the emoji
# matching tests often give slightly different results and thus may
# fail when run against the cldr-emoji-annotation package.
# - doctests-itb_emoji.py:
# dir: ./
# run: bash ./run_python_doctests.sh itb_emoji.py
- emoji-picker:
dir: ./
run: bash ./emoji_picker_tests.sh