Add tmt testcase for CI

This commit is contained in:
Parag Nemade 2024-08-28 14:22:59 +05:30
parent cbb9c710bf
commit bdf8570847
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
4 changed files with 12 additions and 31 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

11
plans/fonttools.fmf Normal file
View File

@ -0,0 +1,11 @@
discover:
- name: smoke-tests
how: shell
tests:
- name: python-import-test
test: python3 -c 'import fs'
require:
- python3-fs
duration: 1m
execute:
how: tmt

View File

@ -1,3 +0,0 @@
#!/bin/bash
cd ../source
python3 -m pytest --ignore Tests/otlLib/optimize_test.py --ignore Tests/varLib/merger_test.py --ignore Tests/varLib/varLib_test.py

View File

@ -1,28 +0,0 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
tests:
- smoke
required_packages:
- python3-pytest
- python3-brotli
- python3-scipy
- python3-pluggy
- python3-packaging
- python3-attrs
- python3-pyparsing
- python3-gobject
- python3-fs
- python3-lxml
- atk-devel
- pango-devel
- gtk3-devel