Skip to content

Commit 586becb

Browse files
aduh95UlisesGascon
authored andcommitted
tools: run coverage CI only on relevant files
PR-URL: #50349 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Tierney Cyren <[email protected]>
1 parent 15c2ed9 commit 586becb

File tree

3 files changed

+54
-44
lines changed

3 files changed

+54
-44
lines changed

.github/workflows/coverage-linux-without-intl.yml

+18-14
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,27 @@ name: Coverage Linux (without intl)
33
on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
6-
paths-ignore:
7-
- '**.md'
8-
- benchmark/**
9-
- deps/**
10-
- doc/**
11-
- .github/**
12-
- '!.github/workflows/coverage-linux-without-intl.yml'
6+
paths:
7+
- lib/**/*.js
8+
- Makefile
9+
- src/**/*.cc
10+
- src/**/*.h
11+
- test/**
12+
- tools/gyp/**
13+
- tools/test.py
14+
- .github/workflows/coverage-linux-without-intl.yml
1315
push:
1416
branches:
1517
- main
16-
paths-ignore:
17-
- '**.md'
18-
- benchmark/**
19-
- deps/**
20-
- doc/**
21-
- .github/**
22-
- '!.github/workflows/coverage-linux-without-intl.yml'
18+
paths:
19+
- lib/**/*.js
20+
- Makefile
21+
- src/**/*.cc
22+
- src/**/*.h
23+
- test/**
24+
- tools/gyp/**
25+
- tools/test.py
26+
- .github/workflows/coverage-linux-without-intl.yml
2327

2428
concurrency:
2529
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/coverage-linux.yml

+18-14
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,27 @@ name: Coverage Linux
33
on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
6-
paths-ignore:
7-
- '**.md'
8-
- benchmark/**
9-
- deps/*
10-
- doc/**
11-
- .github/**
12-
- '!.github/workflows/coverage-linux.yml'
6+
paths:
7+
- lib/**/*.js
8+
- Makefile
9+
- src/**/*.cc
10+
- src/**/*.h
11+
- test/**
12+
- tools/gyp/**
13+
- tools/test.py
14+
- .github/workflows/coverage-linux.yml
1315
push:
1416
branches:
1517
- main
16-
paths-ignore:
17-
- '**.md'
18-
- benchmark/**
19-
- deps/**
20-
- doc/**
21-
- .github/**
22-
- '!.github/workflows/coverage-linux.yml'
18+
paths:
19+
- lib/**/*.js
20+
- Makefile
21+
- src/**/*.cc
22+
- src/**/*.h
23+
- test/**
24+
- tools/gyp/**
25+
- tools/test.py
26+
- .github/workflows/coverage-linux.yml
2327

2428
concurrency:
2529
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/coverage-windows.yml

+18-16
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,27 @@ name: Coverage Windows
33
on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
6-
paths-ignore:
7-
- '**.md'
8-
- benchmark/**
9-
- deps/**
10-
- doc/**
11-
- tools/**
12-
- .github/**
13-
- '!.github/workflows/coverage-windows.yml'
6+
paths:
7+
- lib/**/*.js
8+
- Makefile
9+
- src/**/*.cc
10+
- src/**/*.h
11+
- test/**
12+
- tools/gyp/**
13+
- tools/test.py
14+
- .github/workflows/coverage-windows.yml
1415
push:
1516
branches:
1617
- main
17-
paths-ignore:
18-
- '**.md'
19-
- benchmark/**
20-
- deps/**
21-
- doc/**
22-
- tools/**
23-
- .github/**
24-
- '!.github/workflows/coverage-windows.yml'
18+
paths:
19+
- lib/**/*.js
20+
- Makefile
21+
- src/**/*.cc
22+
- src/**/*.h
23+
- test/**
24+
- tools/gyp/**
25+
- tools/test.py
26+
- .github/workflows/coverage-windows.yml
2527

2628
concurrency:
2729
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

0 commit comments

Comments
 (0)