Skip to content

Commit

Permalink
troubleshoot
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Dec 22, 2023
1 parent ae65f46 commit ea5ba51
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/lint-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,8 @@ jobs:
run: pipreqs --savepath pipreqs.txt
- name: Compare requirements
run: |
cat pipreqs.txt
cat requirements.txt
diff=$(diff requirements.txt pipreqs.txt)
if [[ -z "$diff" ]]; then
echo "Requirements match!"
exit 0
else
echo "Requirements mismatch!"
exit 1
fi
echo $diff
exit 1

0 comments on commit ea5ba51

Please sign in to comment.