Add tmt testcase for CI

This commit is contained in:
Parag Nemade 2024-08-29 22:00:50 +05:30
parent 43e1387148
commit 175bea84a6
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
8 changed files with 18 additions and 15 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

5
plans/hunspell-lv.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

View File

@ -1,4 +0,0 @@
#!/bin/bash
python3 test_suggest_words.py
python3 test_dic_availability.py

View File

@ -0,0 +1,6 @@
require:
- python3-enchant
- hunspell-lv
test: python3 test_dic_availability.py
framework: shell

View File

@ -0,0 +1,6 @@
require:
- python3-enchant
- hunspell-lv
test: python3 test_suggest_words.py
framework: shell

View File

@ -1,11 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
required_packages:
- python3-enchant
tags:
- classic
tests:
- sample:
dir: scripts/
run: ./run_tests.sh