Go sisimai compatibility 7e8c #217
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: Upload coverage reports to Codecov | |
on: | |
push: | |
branches: ["5-stable"] | |
pull_request: | |
branches: ["*"] | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
container: perl:latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Install modules | |
run: cpanm --installdeps . | |
- name: Install modules for the coverage | |
run: | | |
cpanm --quiet --notest Module::Build Module::Build::Tiny Devel::Cover Devel::Cover::Report::Codecovbash | |
perl Build.PL | |
./Build build | |
- name: Execute cover command | |
run: cover -test -report codecovbash | |
- name: Run Codecov on GitHub Actions | |
uses: codecov/[email protected] | |
with: | |
verbose: true | |
token: ${{ secrets.CODECOV_TOKEN }} | |