Skip to content

Commit

Permalink
remove coverage branch check
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmdnk committed Jan 5, 2023
1 parent 3416eb5 commit 3c78ef3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,6 @@ jobs:
echo "Coverage Tests - ${{ steps.coverageComment.outputs.tests }}"
echo "Coverage Time - ${{ steps.coverageComment.outputs.time }}"
echo "Not Success Test Info - ${{ steps.coverageComment.outputs.notSuccessTestInfo }}"
- name: Check coverage branch
id: checkCoverage
continue-on-error: true
if: ${{ steps.isMain.outcome == 'success' }}
run: |
git branch --list | grep -q coverage
- name: Create coverage branch
if: ${{ steps.isMain.outcome == 'success' && steps.checkCoverage.outcome != 'success'}}
run: |
git checkout --orphan coverage
git rm -rf .
touch README.md
git add README.md
git commit -m 'initial commit of coverage'
- name: Update Readme in coverage branch with Coverage Html
if: ${{ steps.isMain.outcome == 'success' }}
run: |
Expand Down

0 comments on commit 3c78ef3

Please sign in to comment.