From b410619bef4472c594dbc33829c45fbe51a8cce8 Mon Sep 17 00:00:00 2001 From: Yusuf Seyrek Date: Thu, 11 May 2023 12:45:19 +0300 Subject: [PATCH] MP-2692 add codecov reporting (#191) --- .github/workflows/test-runner.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-runner.yaml b/.github/workflows/test-runner.yaml index d336c1b2..8d6aab6a 100644 --- a/.github/workflows/test-runner.yaml +++ b/.github/workflows/test-runner.yaml @@ -8,6 +8,7 @@ on: jobs: build: + name: Tests and Codecov runs-on: ubuntu-latest steps: @@ -16,5 +17,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: '20.x' - - run: yarn - - run: yarn test + - name: Install dependencies + run: yarn + - name: Run tests + run: yarn test + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: coverage/lcov.info