Skip to content

Commit

Permalink
re-added the code to generate code coverage for recent files, comment…
Browse files Browse the repository at this point in the history
…ed out, in case someone can fix it
  • Loading branch information
NortySpock committed Dec 17, 2024
1 parent cb13f66 commit ff3d36e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,12 @@ jobs:
- name: emit hint on where to update minimum test coverage
run: echo "to update minimum test coverage requirements, edit coveralls.json"

# not working correctly in GitHub actions (thus commented out for now), seems to not be getting a deep copy of all commits
# - name: generate list of files changed in the last month
# run: git diff ${{ github.event.pull_request.head.sha }} '@{last month}' --name-only | tee ./cover/files_changed_in_last_month.txt

# - name: echo coverage header to list-of-files-changed file to assist in reporting # Requires above step to be fixed
# run: echo "LINES RELEVANT MISSED" | tee -a ./cover/files_changed_in_last_month.txt

# - name: use grep to create test coverage report only on recently changed files, sorted by coverage percent # Requires above step to be fixed
# run: grep -F -f ./cover/files_changed_in_last_month.txt ./cover/test_coverage_by_file.txt | grep -A999 "LINES RELEVANT MISSED" | sort -g

0 comments on commit ff3d36e

Please sign in to comment.