Skip to content

Commit

Permalink
tweak codecov action
Browse files Browse the repository at this point in the history
  • Loading branch information
synfinatic committed Feb 5, 2025
1 parent c5b3d6d commit 41c4b0a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,13 @@ jobs:

- name: Generate Coverage Report
run: |
make unittest
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
make unittest
if [ -f ./coverage.out ]; then
echo "Coverage file exists."
else
echo "Coverage file does not exist."
exit 1
fi
- name: Perform CodeQL Analysis
uses: codecov/codecov-action@v5
Expand All @@ -167,5 +171,5 @@ jobs:
files: ./coverage.out
fail_ci_if_error: true
flags: unittests
token: '${{ secrets.CODECOV_TOKEN }}'
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

0 comments on commit 41c4b0a

Please sign in to comment.