diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 2f7116f..c1b9888 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -7,8 +7,22 @@ on: jobs: sonar: - uses: autumn-library/workflows/.github/workflows/sonar.yml@main + uses: autumn-library/workflows/.github/workflows/sonar.yml@coverage with: github_repository: autumn-library/autumn secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + coverage: + runs-on: ubuntu-latest + needs: [sonar] + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Download artifacts + uses: actions/download-artifact@v4 + - 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 }} diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..c8fb58e --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +ignore: + - "**/*.os"