chore(deps): bump the all group with 2 updates #108
Workflow file for this run
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: Coverage Linux | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths-ignore: | |
- '**.md' | |
- benchmark/** | |
- doc/** | |
- tools/** | |
- unit-test/** | |
- .github/** | |
- '!.github/workflows/coverage-linux.yml' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- benchmark/** | |
- doc/** | |
- tools/** | |
- unit-test/** | |
- .github/** | |
- '!.github/workflows/coverage-linux.yml' | |
env: | |
PYTHON_VERSION: '3.11' | |
NODE_VERSION: '22.x' | |
permissions: | |
contents: read | |
jobs: | |
coverage-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
persist-credentials: false | |
- name: Set up Python ${{ env.PYTHON_VERSION }} | |
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Use Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Environment Information | |
run: npx envinfo | |
- name: Install gcovr | |
run: pip install gcovr==6.0 | |
- name: Install dependencies | |
run: npm install | |
- name: Test with coverage | |
run: | | |
npm run create-coverage | |
- name: Generate coverage report (XML) | |
run: | | |
npm run report-coverage-xml | |
- name: Upload | |
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 | |
with: | |
directory: ./coverage-xml | |
token: ${{ secrets.CODECOV_TOKEN }} # To bypass public API rate limiting, see https://github.com/codecov/codecov-action/issues/557 |