Skip to content

build(deps): bump actions/checkout from 4.1.3 to 4.1.4 #16

build(deps): bump actions/checkout from 4.1.3 to 4.1.4

build(deps): bump actions/checkout from 4.1.3 to 4.1.4 #16

Workflow file for this run

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: '20.x'
permissions:
contents: read
jobs:
coverage-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
persist-credentials: false
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
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@84508663e988701840491b86de86b666e8a86bed # v4.3.0
with:
directory: ./coverage-xml
token: ${{ secrets.CODECOV_TOKEN }} # To bypass public API rate limiting, see https://github.com/codecov/codecov-action/issues/557