A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nodejs/node/commit/10bea42f81 below:

update gcovr to 7.2 and codecov config · nodejs/node@10bea42 · GitHub

File tree Expand file treeCollapse file tree 4 files changed

+16

-19

lines changed

Filter options

Expand file treeCollapse file tree 4 files changed

+16

-19

lines changed Original file line number Diff line number Diff line change

@@ -60,7 +60,7 @@ jobs:

60 60

- name: Environment Information

61 61

run: npx envinfo

62 62

- name: Install gcovr

63 -

run: pip install gcovr==4.2

63 +

run: pip install gcovr==7.2

64 64

- name: Build

65 65

run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage --without-intl"

66 66

# TODO(bcoe): fix the couple tests that fail with the inspector enabled.

@@ -72,7 +72,7 @@ jobs:

72 72

env:

73 73

NODE_OPTIONS: --max-old-space-size=8192

74 74

- name: Report C++

75 -

run: cd out && gcovr --gcov-exclude='.*\b(deps|usr|out|obj|cctest|embedding)\b' -v -r Release/obj.target --xml -o ../coverage/coverage-cxx.xml --root=$(cd ../ && pwd)

75 +

run: gcovr --object-directory=out -v --filter src --xml -o ./coverage/coverage-cxx.xml --root=./ --gcov-executable="llvm-cov-18 gcov"

76 76

# Clean temporary output from gcov and c8, so that it's not uploaded:

77 77

- name: Clean tmp

78 78

run: rm -rf coverage/tmp && rm -rf out

Original file line number Diff line number Diff line change

@@ -60,7 +60,7 @@ jobs:

60 60

- name: Environment Information

61 61

run: npx envinfo

62 62

- name: Install gcovr

63 -

run: pip install gcovr==4.2

63 +

run: pip install gcovr==7.2

64 64

- name: Build

65 65

run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage"

66 66

# TODO(bcoe): fix the couple tests that fail with the inspector enabled.

@@ -72,7 +72,7 @@ jobs:

72 72

env:

73 73

NODE_OPTIONS: --max-old-space-size=8192

74 74

- name: Report C++

75 -

run: cd out && gcovr --gcov-exclude='.*\b(deps|usr|out|obj|cctest|embedding)\b' -v -r Release/obj.target --xml -o ../coverage/coverage-cxx.xml --root=$(cd ../ && pwd)

75 +

run: gcovr --object-directory=out -v --filter src --xml -o ./coverage/coverage-cxx.xml --root=./ --gcov-executable="llvm-cov-18 gcov"

76 76

# Clean temporary output from gcov and c8, so that it's not uploaded:

77 77

- name: Clean tmp

78 78

run: rm -rf coverage/tmp && rm -rf out

Original file line number Diff line number Diff line change

@@ -254,7 +254,7 @@ coverage: coverage-test ## Run the tests and generate a coverage report.

254 254

.PHONY: coverage-build

255 255

coverage-build: all

256 256

-$(MAKE) coverage-build-js

257 -

if [ ! -d gcovr ]; then $(PYTHON) -m pip install -t gcovr gcovr==4.2; fi

257 +

if [ ! -d gcovr ]; then $(PYTHON) -m pip install -t gcovr gcovr==7.2; fi

258 258

$(MAKE)

259 259 260 260

.PHONY: coverage-build-js

@@ -270,9 +270,10 @@ coverage-test: coverage-build

270 270

-NODE_V8_COVERAGE=coverage/tmp \

271 271

TEST_CI_ARGS="$(TEST_CI_ARGS) --type=coverage" $(MAKE) $(COVTESTS)

272 272

$(MAKE) coverage-report-js

273 -

-(cd out && PYTHONPATH=../gcovr $(PYTHON) -m gcovr \

274 -

--gcov-exclude='.*\b(deps|usr|out|cctest|embedding)\b' -v \

275 -

-r ../src/ --object-directory Release/obj.target \

273 +

-(PYTHONPATH=./gcovr $(PYTHON) -m gcovr \

274 +

--object-directory=out \

275 +

--filter src -v \

276 +

--root ./ \

276 277

--html --html-details -o ../coverage/cxxcoverage.html \

277 278

--gcov-executable="$(GCOV)")

278 279

@printf "Javascript coverage %%: "

Original file line number Diff line number Diff line change

@@ -1,20 +1,16 @@

1 -

# TODO(bcoe): re-enable coverage report comments, once we can figure out

2 -

# how to make them more accurate for the Node.js project,

3 -

# See: https://github.com/nodejs/node/issues/35759

4 -

comment: false

5 -

# # Only show diff and files changed:

6 -

# layout: "diff, files"

7 -

# # Don't post if no changes in coverage:

8 -

# require_changes: true

1 +

comment:

2 +

# Only show diff and files changed:

3 +

layout: diff, files

4 +

# Don't post if no changes in coverage:

5 +

require_changes: true

9 6 10 7

codecov:

11 -

branch: main

12 8

notify:

13 9

# Wait for all coverage builds:

14 10

# - coverage-linux.yml

15 -

# - coverage-windows.yml

11 +

# - coverage-windows.yml [manually disabled see #50489]

16 12

# - coverage-linux-without-intl.yml

17 -

after_n_builds: 3

13 +

after_n_builds: 2

18 14 19 15

coverage:

20 16

# Useful for blocking Pull Requests that don't meet a particular coverage threshold.

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4