From 866c4950247d6d2a7655119ef1f0b4624691404e Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Wed, 21 Feb 2024 22:25:36 +0100 Subject: [PATCH] Codecov --- .github/workflows/qa.yml | 10 ++++++++++ .github/workflows/testing.yml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 2f7116f..57e30ed 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -12,3 +12,13 @@ jobs: github_repository: autumn-library/autumn secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + coverage: + runs-on: ubuntu-latest + needs: [sonar] + steps: + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: autumn-library/autumn + diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index f4af2e1..c67c0ff 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -13,4 +13,4 @@ jobs: oscript_version: ['dev', 'lts-dev', 'default'] uses: autumn-library/workflows/.github/workflows/test.yml@main with: - oscript_version: ${{ matrix.oscript_version }} + oscript_version: ${{ matrix.oscript_version }}