File tree 1 file changed +17
-0
lines changed 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -77,14 +77,31 @@ jobs:
77
77
- name : Run Perl tests
78
78
run : >
79
79
docker run -d -i -p 8000:80
80
+ -e PERL5OPT='-MDevel::Cover=+ignore,^local/|^templates/|^t/|yaml$'
81
+ -e HARNESS_ACTIVE=1
82
+ -v $(pwd):/app
80
83
${{ steps.docker-build-test.outputs.imageid }}
81
84
- uses : actions/setup-node@v4
82
85
with :
83
86
node-version : 22
84
87
- name : Install Playwright Browsers
85
88
run : ./bin/install-playwright
89
+ - name : Install Codecovbash
90
+ uses : perl-actions/install-with-cpm@v1
91
+ with :
92
+ install : |
93
+ Devel::Cover
94
+ Devel::Cover::Report::Codecovbash
95
+ sudo : true
86
96
- name : Run Playwright tests
87
97
run : npx playwright test
98
+ - name : Generate Codecov report
99
+ run : cover -report codecovbash
100
+ - uses : codecov/codecov-action@v5
101
+ with :
102
+ fail_ci_if_error : true
103
+ file : ./cover_db/codecov.json
104
+ token : ${{ secrets.CODECOV_TOKEN }}
88
105
test :
89
106
runs-on : ubuntu-24.04
90
107
name : Dockerless
You can’t perform that action at this time.
0 commit comments