ibus-typing-booster/tests/tests.yml
Mike FABIAN 7fb77550bd Add CI tests
(doctest of itb_emoji.py is still commented out because it is too slow).
2019-06-19 09:09:30 +02:00

55 lines
1.3 KiB
YAML

- 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-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
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
# - doctests-itb_emoji.py:
# dir: ./
# run: bash ./run_python_doctests.sh itb_emoji.py
- emoji-picker:
dir: ./
run: bash ./emoji_picker_tests.sh