From b80f7b148ed8c5c6e68748d1ea610b9507fb4239 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 21 Jun 2023 13:31:59 -0400 Subject: [PATCH] fix: replacing the action with the cli --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06e2b112..be393fe6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,14 @@ jobs: python-version: '3.10' - name: Install dependencies run: pip install -r requirements.txt + - name: Install codecov cli + run: pip install codecov-cli - name: Run tests and collect coverage run: pytest --cov app + + - name: Create a commit on Codecov + run: codecovcli create-commit -t e2800f80-c8a1-4b0b-b267-f2525e35b757 + - name: Create a report on Codecov + run: codecovcli create-report -t e2800f80-c8a1-4b0b-b267-f2525e35b757 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + run: codecovcli do-upload -t e2800f80-c8a1-4b0b-b267-f2525e35b757