Skip to content

Commit

Permalink
#3571: Modify test to check for warnings. Add mock tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-gill committed Jun 18, 2024
1 parent 1996812 commit 5b8c0e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rtw-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@ jobs:
run: |
cd esmvaltool/utils/recipe_test_workflow
find . -name "*.sh" -exec shellcheck {} \;
if [ "$output" ]; then exit 1; else exit 0; fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

echo "This line is missing a closing quote
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
echo $undeclared_variable

0 comments on commit 5b8c0e1

Please sign in to comment.