Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TMT enablement #83

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .fmf/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
1 change: 1 addition & 0 deletions plans/local/basic.fmf
8 changes: 8 additions & 0 deletions plans/local/main.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/basic:
summary+: ' (localhost)'
discover+:
filter: tag:local
prepare:
how: install
package:
- python3-gobject-base
9 changes: 9 additions & 0 deletions plans/pr-tests/basic.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
summary: Run unit tests
discover:
how: fmf
filter: tag:sys-installed
provision:
how: container
image: fedora:latest
execute:
how: shell
7 changes: 7 additions & 0 deletions plans/pr-tests/smoke.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
summary: Run smoke test
provision:
how: container
image: fedora:latest
execute:
how: shell
script: python3 -c "import simpleline"
16 changes: 16 additions & 0 deletions tests/units/main.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
summary: Run unit tests
description: Run all unit tests for the Simpleline project.
contact: Jiri Konecny <[email protected]>
duration: 10m

/source:
summary+: ' (source)'
path: /
test: ./tests/units/run_test.sh
tag: local

/system:
summary+: ' (system)'
path: tests/
test: ./units/run_test.sh
tag: sys-installed