Skip to content

Commit

Permalink
ci: test action measuring overall cohesion
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpalves committed Sep 30, 2020
1 parent 9a2b987 commit 9ee4d53
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ runs:
echo -e "ignore_output_result: ${{ inputs.ignore_output_result }}\n" >> coherent-swift.yml
echo -e "report_format: ${{ inputs.report_format }}\n" >> coherent-swift.yml
- name: Measure cohesion changes only
shell: bash
- name: Measure cohesion
run: |
if [ ${{ inputs.only_changes }} == 'true' ]; then
swift run ${{ github.action_path }}/coherent-swift report -d -s coherent-swift.yml
else
swift run ${{ github.action_path }}/coherent-swift report -s coherent-swift.yml
fi
swift run ${{ github.action_path }}/coherent-swift report -s coherent-swift.yml

0 comments on commit 9ee4d53

Please sign in to comment.