From 4d4b2e04bfd55321eefe2d8d7c2e03b9a2a1bc9b Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sat, 16 Apr 2022 15:08:59 +0200 Subject: [PATCH] :sparkles: Added codecov --- .github/workflows/pytest.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index dcea649..e8ba100 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -25,7 +25,7 @@ jobs: cache: 'pipenv' - run: pipenv install --dev - name: Prepare tests - run: | + run: | echo ${{ secrets.DOTENV }} | base64 --decode > .env set -o allexport; source .env; set +o allexport mkdir /tmp/storage/ @@ -45,3 +45,8 @@ jobs: env: DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }} + + - name: Upload Coverage to Codecov + uses: codecov/codecov-action@v2 + with: + files: ./coverage.xml