From 70c9e39d6b13f568223903834143a83c993c5e8d Mon Sep 17 00:00:00 2001 From: Nora Shapiro Date: Wed, 11 Sep 2024 16:17:18 -0700 Subject: [PATCH 1/5] add codecov yml --- codecov.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..045842d --- /dev/null +++ b/codecov.yml @@ -0,0 +1,6 @@ +coverage: + status: + project: + default: + target: 100% + threshold: 1% From 3df422b69d597daf2ed7ac184abca0d9feea9ba3 Mon Sep 17 00:00:00 2001 From: Nora Shapiro Date: Wed, 11 Sep 2024 16:24:58 -0700 Subject: [PATCH 2/5] remove threshold --- codecov.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 045842d..26a0930 100644 --- a/codecov.yml +++ b/codecov.yml @@ -3,4 +3,3 @@ coverage: project: default: target: 100% - threshold: 1% From 2fd9bfef06264ff8d0b91cdd2bf72e52b7d650c0 Mon Sep 17 00:00:00 2001 From: Nora Shapiro Date: Thu, 12 Sep 2024 14:06:09 -0700 Subject: [PATCH 3/5] add threshold back --- .circleci/config.yml | 4 ---- codecov.yml | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7564275..25284fc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,10 +3,6 @@ version: 2.1 orbs: codecov: codecov/codecov@4.0.1 -permissions: - id-token: write # This is required for requesting the JWT - contents: read # This is required for actions/checkout - jobs: test-api: docker: diff --git a/codecov.yml b/codecov.yml index 26a0930..045842d 100644 --- a/codecov.yml +++ b/codecov.yml @@ -3,3 +3,4 @@ coverage: project: default: target: 100% + threshold: 1% From 93fc95f52e1cdf460e307be41b02fd1e683e38d5 Mon Sep 17 00:00:00 2001 From: Nora Shapiro Date: Thu, 12 Sep 2024 14:09:15 -0700 Subject: [PATCH 4/5] test --- .github/workflows/api.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 5f24d2c..c57aa93 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -2,10 +2,6 @@ name: API workflow on: [push, pull_request] -permissions: - id-token: write # This is required for requesting the JWT - contents: read # This is required for actions/checkout - jobs: build: runs-on: ubuntu-latest From add525c9a049a5330b4d958d7971c19417f71a25 Mon Sep 17 00:00:00 2001 From: Nora Shapiro Date: Thu, 12 Sep 2024 14:10:28 -0700 Subject: [PATCH 5/5] undo test --- .github/workflows/api.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index c57aa93..5f24d2c 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -2,6 +2,10 @@ name: API workflow on: [push, pull_request] +permissions: + id-token: write # This is required for requesting the JWT + contents: read # This is required for actions/checkout + jobs: build: runs-on: ubuntu-latest