File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 4646 - name : Run Python tests and coverage
4747 run : coverage run --source=. ./manage.py test
4848
49+ - name : Export coverage to XML
50+ run : coverage xml
51+
4952 - name : Send coverage
50- uses : codecov/codecov-action@v3
53+ uses : codecov/codecov-action@v5
54+ # Do not run this step on forked versions of the main repository (example: contributor forks)
55+ if : github.repository == 'phpmyadmin/website'
56+ with :
57+ fail_ci_if_error : true
58+ token : ${{ secrets.CODECOV_TOKEN }}
59+ flags : unit-${{ matrix.python-version }}-${{ matrix.os }}
60+ name : phpunit-${{ matrix.python-version }}-${{ matrix.os }}
61+ report_type : coverage
62+
63+ - name : Send coverage to Scrutinizer
64+ uses : sudo-bot/action-scrutinizer@latest
65+ # Do not run this step on forked versions of the main repository (example: contributor forks)
66+ if : github.repository == 'phpmyadmin/website'
67+ with :
68+ cli-args : " --format=php-clover build/logs/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}"
You can’t perform that action at this time.
0 commit comments