Skip to content

Commit

Permalink
Adding basic test
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Sep 10, 2020
1 parent 85e53a5 commit 48c5db7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions molecule/default/tests/test_git.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
command:
git --version:
exit-status: 0
2 changes: 2 additions & 0 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
register: test_files

- name: Execute Goss tests
environment:
PATH: '/opt/rh/rh-git218/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
command: "{{ goss_dst }} -g {{ item }} validate -f {{ goss_format }}"
register: test_results
with_items: "{{ test_files.stdout_lines }}"
Expand Down

0 comments on commit 48c5db7

Please sign in to comment.