mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-05-12 20:27:21 +00:00
Fail build if tests don't succeed
This commit is contained in:
@@ -6,3 +6,4 @@ requests
|
||||
PrettyTable
|
||||
urllib3
|
||||
ruamel.yaml
|
||||
requests_mock
|
||||
|
||||
@@ -16,7 +16,7 @@ parser.add_argument('--report', type=str, default='plain', help="set report type
|
||||
config = parser.parse_args()
|
||||
|
||||
def main():
|
||||
pytest.main(['.'])
|
||||
exit(pytest.main(['.']))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user