Skip to content

Commit

Permalink
build: set correct branch in coverage github action
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbee committed Jan 5, 2025
1 parent 4a5a473 commit 74e5c5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Coverage

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
coverage:
Expand Down
1 change: 1 addition & 0 deletions m3u8/writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,7 @@ func TestCalculateTargetDuration(t *testing.T) {
{desc: "HLSv6", hlsVersion: 6, segDur: 5.1, nrSlides: 2, wantedTargetDur: 5},
{desc: "HLSv5Wrap", hlsVersion: 5, segDur: 5.1, nrSlides: 6, wantedTargetDur: 6},
{desc: "HLSv6Wrap", hlsVersion: 6, segDur: 5.1, nrSlides: 6, wantedTargetDur: 6},
{desc: "Zero segments", hlsVersion: 5, segDur: 5.1, nrSlides: 0, wantedTargetDur: 0},
}
for _, c := range cases {
t.Run(c.desc, func(t *testing.T) {
Expand Down

0 comments on commit 74e5c5e

Please sign in to comment.