From 69d126c61c5b1a007e428e9f5f961eee0bc8fa79 Mon Sep 17 00:00:00 2001 From: Aakar Shroff Date: Wed, 1 May 2024 18:01:28 -0400 Subject: [PATCH 1/5] Update coverage-linux.yml --- .github/workflows/coverage-linux.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/coverage-linux.yml b/.github/workflows/coverage-linux.yml index 10705fc16a749c..485656abaa0a81 100644 --- a/.github/workflows/coverage-linux.yml +++ b/.github/workflows/coverage-linux.yml @@ -67,8 +67,3 @@ jobs: # Clean temporary output from gcov and c8, so that it's not uploaded: - name: Clean tmp run: rm -rf coverage/tmp && rm -rf out - - name: Upload - uses: codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8 # v4.1.1 - with: - directory: ./coverage - token: ${{ secrets.CODECOV_TOKEN }} From 2b2186494ac30d347918f1ba3c133273bd97a86b Mon Sep 17 00:00:00 2001 From: Aakar Shroff Date: Wed, 1 May 2024 18:09:05 -0400 Subject: [PATCH 2/5] Add .circleci/config.yml --- .circleci/config.yml | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000000000..513593a46635a0 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,50 @@ +version: 2.1 +commands: + set_environment_vars: + steps: + - run: + command: | + echo "export PYTHON_VERSION=3.12" >> $BASH_ENV + echo "export FLAKY_TESTS=keep_retrying" >> $BASH_ENV +jobs: + coverage-linux: + environment: + NODE_OPTIONS: --max-old-space-size=8192 + docker: + - image: circleci/python:3 + steps: + - checkout + - set_environment_vars + - run: + name: Environment Information + command: npx envinfo + - run: + name: Install gcovr + command: pip install gcovr==4.2 + - run: + name: Build + command: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage" + - run: + name: Test + command: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p + dots --node-args="--test-reporter=spec" --measure-flakiness 9" || exit 0 + - run: + name: Report JS + command: npx c8 report --check-coverage + - run: + name: Report C++ + command: 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) + - run: + name: Clean tmp + command: rm -rf coverage/tmp && rm -rf out +workflows: + Coverage_Linux: + jobs: + - coverage-linux: + filters: + branches: + only: + - main + tags: {} \ No newline at end of file From e201d595df616f5889f64d36b0b41106a1ba745f Mon Sep 17 00:00:00 2001 From: Aakar Shroff Date: Wed, 1 May 2024 18:24:36 -0400 Subject: [PATCH 3/5] Updated config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 513593a46635a0..a3d0d9ee12c128 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,4 +1,6 @@ version: 2.1 +orbs: + node: circleci/node@5.2.0 commands: set_environment_vars: steps: From e20defba79b1236b2011fac9b8858f4bc65aa59e Mon Sep 17 00:00:00 2001 From: Aakar Shroff Date: Wed, 1 May 2024 18:29:15 -0400 Subject: [PATCH 4/5] Updated config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a3d0d9ee12c128..e3d1634be8c2fc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ jobs: environment: NODE_OPTIONS: --max-old-space-size=8192 docker: - - image: circleci/python:3 + - image: cimg/base:stable steps: - checkout - set_environment_vars From f435ae0a75783917eba58440c044dc2e38752593 Mon Sep 17 00:00:00 2001 From: Aakar Shroff Date: Thu, 13 Mar 2025 12:33:36 -0400 Subject: [PATCH 5/5] Update glossary.md --- glossary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glossary.md b/glossary.md index 12c0ca177eab38..243f74b6329e9e 100644 --- a/glossary.md +++ b/glossary.md @@ -15,7 +15,7 @@ You may also need to check