Skip to content

Commit

Permalink
[GitHub] Try splitting coverage differently.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Oct 11, 2023
1 parent 90f7cf6 commit 74388a3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
part: [ 1, 2, 3 ]
part: [ 1, 2, 3, 4 ]

env:
PERL5LIB: local-coverage/lib/perl5
Expand Down Expand Up @@ -45,15 +45,19 @@ jobs:
- name: Run tests (with coverage, part 1)
if: matrix.part == 1
run: script/test --jobs 3 $(find t/app/controller -name "[a-q]*.t")
run: script/test --jobs 3 $(find t/app/controller -name "[a-qs-u]*.t")

- name: Run tests (with coverage, part 2)
if: matrix.part == 2
run: script/test --jobs 3 $(find t/app/controller -name "[r-z]*.t")
run: script/test --jobs 3 $(find t/app/controller -name "[rv-z]*.t")

- name: Run tests (with coverage, part 3)
if: matrix.part == 3
run: script/test --jobs 3 $(find t -name "*.t" ! -path "t/app/controller*")
run: script/test --jobs 3 $(find t/cobrand -name "*.t")

- name: Run tests (with coverage, part 4)
if: matrix.part == 4
run: script/test --jobs 3 $(find t -name "*.t" ! -path "t/app/controller*" ! -path "t/cobrand*")

- name: Generate coverage report
if: success()
Expand Down

0 comments on commit 74388a3

Please sign in to comment.