Skip to content

Commit

Permalink
Added new step of creating a git tag required for adding coverage com…
Browse files Browse the repository at this point in the history
…ment
  • Loading branch information
Sachinbisht27 committed Sep 13, 2023
1 parent 3ccb2e4 commit 003b312
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,16 @@ jobs:
run: |
vendor/bin/phpunit --coverage-clover coverage.xml
- name: Create Git Tag
run: |
git tag -a v1.0 -m "Version 1.0"
git push origin v1.0
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3

- name: Post Code Coverage Comment
uses: softprops/action-gh-release@v1
with:
files: coverage.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 003b312

Please sign in to comment.