From 8a97d8bedc3880ae8242f6582011fd27d3965418 Mon Sep 17 00:00:00 2001 From: guidari Date: Mon, 2 Sep 2024 10:13:18 -0300 Subject: [PATCH 1/3] fix: fix --- codecov.yml | 4 ++++ packages/react/src/components/ListBox/ListBoxField.tsx | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/codecov.yml b/codecov.yml index e8784c195d35..440233a008a9 100644 --- a/codecov.yml +++ b/codecov.yml @@ -6,3 +6,7 @@ coverage: threshold: 1% paths: - packages/react/src/components/ +codecov: + require_ci_to_pass: yes + notify: + wait_for_ci: yes diff --git a/packages/react/src/components/ListBox/ListBoxField.tsx b/packages/react/src/components/ListBox/ListBoxField.tsx index 9e6e58133281..4bc151ce6fe0 100644 --- a/packages/react/src/components/ListBox/ListBoxField.tsx +++ b/packages/react/src/components/ListBox/ListBoxField.tsx @@ -33,6 +33,11 @@ function ListBoxField({ }: ListBoxFieldProps) { const prefix = usePrefix(); + function test(x, y) { + const result = x + y; + return result; + } + return (
Date: Mon, 2 Sep 2024 10:30:41 -0300 Subject: [PATCH 2/3] fix: fix --- codecov.yml | 6 +----- packages/react/src/components/ListBox/ListBoxField.tsx | 7 +------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/codecov.yml b/codecov.yml index 440233a008a9..c279f1580c46 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,11 +2,7 @@ coverage: status: project: components: - target: 100% + target: auto threshold: 1% paths: - packages/react/src/components/ -codecov: - require_ci_to_pass: yes - notify: - wait_for_ci: yes diff --git a/packages/react/src/components/ListBox/ListBoxField.tsx b/packages/react/src/components/ListBox/ListBoxField.tsx index 4bc151ce6fe0..6f8230844052 100644 --- a/packages/react/src/components/ListBox/ListBoxField.tsx +++ b/packages/react/src/components/ListBox/ListBoxField.tsx @@ -33,11 +33,6 @@ function ListBoxField({ }: ListBoxFieldProps) { const prefix = usePrefix(); - function test(x, y) { - const result = x + y; - return result; - } - return (
Date: Mon, 2 Sep 2024 10:46:35 -0300 Subject: [PATCH 3/3] fix: fixed version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0e96233acee..008baae0c34a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: - name: Run tests run: yarn test --ci --collectCoverage - name: Upload coverage reports to Codecov with GitHub Action - uses: codecov/codecov-action@v4.2.0 + uses: codecov/codecov-action@v4.4.0 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}