Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: run coverage CI only on relevant files #50349

Merged
merged 2 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions .github/workflows/coverage-linux-without-intl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,21 @@ name: Coverage Linux (without intl)
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- benchmark/**
- deps/**
- doc/**
- .github/**
- '!.github/workflows/coverage-linux-without-intl.yml'
paths:
- lib/**/*.js
- src/**/*.cc
- src/**/*.h
- test/**/*
- .github/workflows/coverage-linux-without-intl.yml
push:
branches:
- main
paths-ignore:
- '**.md'
- benchmark/**
- deps/**
- doc/**
- .github/**
- '!.github/workflows/coverage-linux-without-intl.yml'
paths:
- lib/**/*.js
- src/**/*.cc
- src/**/*.h
- test/**/*
- .github/workflows/coverage-linux-without-intl.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
26 changes: 12 additions & 14 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,21 @@ name: Coverage Linux
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- benchmark/**
- deps/*
- doc/**
- .github/**
- '!.github/workflows/coverage-linux.yml'
paths:
- lib/**/*.js
- src/**/*.cc
- src/**/*.h
- test/**/*
- .github/workflows/coverage-linux.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Theoretically changes to the Python test runner and/or build files (Makefile, gyp files) could also affect coverage results.

push:
branches:
- main
paths-ignore:
- '**.md'
- benchmark/**
- deps/**
- doc/**
- .github/**
- '!.github/workflows/coverage-linux.yml'
paths:
- lib/**/*.js
- src/**/*.cc
- src/**/*.h
- test/**/*
- .github/workflows/coverage-linux.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
28 changes: 12 additions & 16 deletions .github/workflows/coverage-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,21 @@ name: Coverage Windows
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- benchmark/**
- deps/**
- doc/**
- tools/**
- .github/**
- '!.github/workflows/coverage-windows.yml'
paths:
- lib/**/*.js
- src/**/*.cc
- src/**/*.h
- test/**/*
- .github/workflows/coverage-windows.yml
push:
branches:
- main
paths-ignore:
- '**.md'
- benchmark/**
- deps/**
- doc/**
- tools/**
- .github/**
- '!.github/workflows/coverage-windows.yml'
paths:
- lib/**/*.js
- src/**/*.cc
- src/**/*.h
- test/**/*
- .github/workflows/coverage-windows.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
Loading