From af4fff60384dc00b7d3f1cbd53d28ee1e07bb4bf Mon Sep 17 00:00:00 2001 From: Spiros Maggioros Date: Sat, 3 Feb 2024 17:16:09 +0200 Subject: [PATCH] Revert "Update codecov.yml" This reverts commit 65cc04f3327df03c06fae81e794bd20bf456d8dd. --- .github/workflows/codecov.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index af9ed547..0b835423 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -6,11 +6,17 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - uses: codecov/codecov-action@v4 + - name: Checkout + uses: actions/checkout@v2 with: - fail_ci_if_error: true # optional (default = false) - flags: unittests # optional - name: codecov-umbrella # optional - token: ${{ secrets.CODECOV_TOKEN }} # required - verbose: true # optional (default = false) + fetch-depth: 2 + - name: Install dependencies + run: yarn install + - name: Run tests + run: yarn run test --coverage # generates coverage + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true + verbose: true