Skip to content

Commit

Permalink
Update coverage_and_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KirbytroNic0528 authored Oct 11, 2024
1 parent f768ad9 commit 88853da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/coverage_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
- name: initial moon test
run: moon test --enable-coverage
moon coverage report -f coveralls

- name: initial coverage report
run: |
Expand All @@ -96,7 +97,9 @@ jobs:
python scripts/testagent.py --api_key ${{ secrets.API_KEY }}
moon test --enable-coverage
moon coverage report -f coveralls
moon coverage report -f summary summary > coverage_summary.txt
new_coverage=$(cat coverage_summary.txt | grep 'Total Coverage' | awk '{print $NF}' | tr -d '%')
Expand Down

0 comments on commit 88853da

Please sign in to comment.