Skip to content

Commit

Permalink
Catch more docs warnings (Exawind#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel authored Sep 27, 2024
1 parent f67a52d commit 8bad127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Report
run: |
echo "::add-matcher::.github/problem-matchers/sphinx.json"
egrep "WARNING:" build-output.txt | sort | uniq | \
egrep "WARNING:|Warning:|ERROR:|Error:" build-output.txt | sort | uniq | \
awk 'BEGIN{i=0}{print $0}{i++}END{print "Warnings: "i}' > build-output-warnings.txt
cat build-output-warnings.txt
exit $(tail -n 1 build-output-warnings.txt | awk '{print $2}')
Expand Down

0 comments on commit 8bad127

Please sign in to comment.