chore: enhance media service documentation and CI workflows
- Added documentation for GetAudioOutputConfiguration method, including a note on code duplication. - Updated coverage workflow to include an ID for coverage checks and output the coverage percentage. - Modified release workflow to allow manual triggering and improved version handling based on event type.
This commit is contained in:
@@ -30,6 +30,7 @@ jobs:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Check coverage percentage
|
||||
id: coverage
|
||||
run: |
|
||||
if [ -f coverage.out ]; then
|
||||
echo "📊 Coverage Report:"
|
||||
@@ -37,6 +38,7 @@ jobs:
|
||||
|
||||
coverage=$(go tool cover -func=coverage.out | grep total | awk '{print $3}' | sed 's/%//')
|
||||
echo "Total Coverage: ${coverage}%"
|
||||
echo "percentage=${coverage}" >> $GITHUB_OUTPUT
|
||||
|
||||
# Set threshold to 50%
|
||||
threshold=50
|
||||
|
||||
Reference in New Issue
Block a user