Skip to content

Commit

Permalink
Coverage filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
MEhrn00 committed Feb 24, 2024
1 parent 5a38c93 commit b741837
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ jobs:
- name: Filter unneeded test coverage results
working-directory: coverage
run: |
sed -i '/^thanatos\/commands\/testing\/.*$/d' ../../../coverage/mythic.commands.gocov
sed -i '/^thanatos\/commands\/commands\.go:.*$/d' ../../../coverage/mythic.commands.gocov
sed -i '/^thanatos\/commands\/utils\/mythicrpc\.go:.*$/d' ../../../coverage/mythic.commands.gocov
sed -i '/^thanatos\/builder\/testing.*\.go:.*$/d' ../../../coverage/mythic.builder.gocov
sed -i '/^thanatos\/builder\/handlers\.go:.*$/d' ../../../coverage/mythic.builder.gocov
sed -i '/^thanatos\/commands\/testing\/.*$/d' mythic.commands.gocov
sed -i '/^thanatos\/commands\/commands\.go:.*$/d' mythic.commands.gocov
sed -i '/^thanatos\/commands\/utils\/mythicrpc\.go:.*$/d' mythic.commands.gocov
sed -i '/^thanatos\/builder\/testing.*\.go:.*$/d' mythic.builder.gocov
sed -i '/^thanatos\/builder\/handlers\.go:.*$/d' mythic.builder.gocov
- name: Combine test coverage results
working-directory: coverage
Expand Down

0 comments on commit b741837

Please sign in to comment.