From 85052861178d2ae1434ef3b48b98cdcf79f8bfae Mon Sep 17 00:00:00 2001 From: Iain Sproat <68657+iainsproat@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:16:09 +0000 Subject: [PATCH 1/2] chore(ci): re-enable codecov --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3a27e23dd1..7c3b3a9347 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 orbs: snyk: snyk/snyk@2.0.3 - # codecov: codecov/codecov@4.1.0 + codecov: codecov/codecov@5.0.3 workflows: test-build: @@ -20,6 +20,7 @@ workflows: context: - speckle-server-licensing - stripe-integration + - speckle-server-codecov filters: &filters-allow-all tags: # run tests for any commit on any branch, including any tags @@ -534,8 +535,8 @@ jobs: command: yarn test:report working_directory: 'packages/server' - # - codecov/upload: - # file: packages/server/coverage/lcov.info + - codecov/upload: + files: packages/server/coverage/lcov.info - run: name: Introspect GQL schema for subsequent checks From e7144fc046a4696fd0d6f69e39c757e5e8e90b78 Mon Sep 17 00:00:00 2001 From: Iain Sproat <68657+iainsproat@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:58:27 +0000 Subject: [PATCH 2/2] Add codecov config; do not require all ci jobs to pass --- codecov.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000000..9ebf3bec03 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,4 @@ +codecov: + notify: + notify_error: true + require_ci_to_pass: false