From ed40d9583a67576b4aee90adf5e055d85202fd94 Mon Sep 17 00:00:00 2001 From: Arman Hilmioglu Date: Mon, 17 Jun 2024 09:33:13 +0100 Subject: [PATCH] Add code coverage --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2cbc3de3..3103f519 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,12 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3.3.0 - run: npm ci - - run: npm test + - run: npm test -- --coverage + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: armhil/azure-blobs-content-uploader # Runs a single command using the runners shell - name: Upload Static Content