Skip to content

Commit

Permalink
Add new TMT plan and split tests for local and pr-tests
Browse files Browse the repository at this point in the history
PR-testing and Gating have to test unit-tests based on the installed
package, however, when we are running these tests in local then we want
to start the tests on source and not the installed package.

Create two plans to solve this issue.
  • Loading branch information
jkonecny12 committed Aug 11, 2020
1 parent e4a3bc3 commit 9cbd640
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
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:
artifacts+:
discover+:
filter: tag:local
prepare:
- name: Install missing dependencies
how: install
package: python3-gobject-base
3 changes: 3 additions & 0 deletions tests/units/source.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
path: /
test: ./tests/units/run_test.sh
tag: local
1 change: 1 addition & 0 deletions tests/units/sys-installed.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tag: sys-installed

0 comments on commit 9cbd640

Please sign in to comment.