Skip to content

Commit

Permalink
Add tests for successful (dry_run) and parse error
Browse files Browse the repository at this point in the history
  • Loading branch information
kalikiana committed Dec 30, 2020
1 parent bef5b3f commit a4190e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ test: checkstyle
.PHONY: test-online
test-online:
cat ./tests/incompletes | env dry_run=1 bash -ex ./openqa-label-known-issues
env dry_run=1 ./trigger-openqa_in_openqa
# Invalid JSON causes the job to abort with an error
env tw_openqa_host=example.com dry_run=1 ./trigger-openqa_in_openqa | grep -v 'parse error:'

.PHONY: checkstyle
checkstyle: test-shellcheck test-yaml
Expand Down

0 comments on commit a4190e4

Please sign in to comment.