Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-L2L committed Jul 27, 2023
1 parent ec808a7 commit 00199f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/comment_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ jobs:
-Wmissing_docs \
2>&1 \
| awk -F"[\` ]" \
'/warning: `.+?` \(lib\) generated [0-9]+ warning[s]?/ { print $3 ": " $7 }' \
| sort
'/warning: `.+?` \(lib\) generated [0-9]+ warning[s]?/ { print "::set-output name=" $3::$7 }'
- name: Checkout target branch
uses: actions/checkout@v2
Expand All @@ -63,11 +62,12 @@ jobs:
-Wmissing_docs \
2>&1 \
| awk -F"[\` ]" \
'/warning: `.+?` \(lib\) generated [0-9]+ warning[s]?/ { print $3 ": " $7 }' \
| sort
'/warning: `.+?` \(lib\) generated [0-9]+ warning[s]?/ { print "::set-output name=" $3::$7 }'
- name: Compare comment coverage
run: |
echo "test abc"
echo "${{ steps.missing_docs_warnings_target.outputs }}"
IFS=$'\n' read -rd '' -a missing_docs_warnings_pr_arr <<< "${{steps.missing_docs_warnings_pr.outcome}}"
IFS=$'\n' read -rd '' -a missing_docs_warnings_target_arr <<< "${{steps.missing_docs_warnings_target.outcome}}"
for pr_warnings_line in "${missing_docs_warnings_pr_arr[@]}"
Expand Down

0 comments on commit 00199f4

Please sign in to comment.