From 329be820ccb4a97ff710cc3452f9bc9e6c7f8913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iiro=20J=C3=A4ppinen?= Date: Fri, 3 Apr 2020 17:18:18 +0300 Subject: [PATCH] ci: add codecov job --- .github/workflows/test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e999cb4b9..642eb8a67 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,3 +52,18 @@ jobs: - run: git --version - run: yarn - run: yarn test + - uses: actions/upload-artifact@v1 + with: + name: coverage-${{ runner.os }}-${{ runner.node }} + path: coverage + + codecov: + name: codecov.io + runs-on: ubuntu-latest + needs: test + steps: + - uses: actions/download-artifact@v1 + with: + name: coverage-${{ runner.os }}-${{ runner.node }} + - uses: actions/checkout@v2 + - uses: codecov/codecov-action@v1