fix: 未配置微信证书时,自动获取证书后仍然使用之前的微信配置 #566
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Coverage | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
coverage: | |
name: Code Coverage | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
extensions: openssl | |
coverage: xdebug | |
- name: Install Dependencies | |
run: composer require hyperf/pimple | |
- name: Run Coverage | |
run: vendor/bin/phpunit --coverage-clover coverage.xml | |
- name: Upload Coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |