From ca90f7f3f6b50e841ecbd00e51c98fe845679a56 Mon Sep 17 00:00:00 2001 From: Dineshkarthik Date: Sat, 11 Jul 2020 10:09:24 +0200 Subject: [PATCH] add: codecov coverage --- .github/workflows/main.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4dd5931..cd0a500 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,4 +25,13 @@ jobs: - name: Static Type Check - Mypy run: make static_type_check - name: Test with pytest - run: make test \ No newline at end of file + run: make test + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: /tmp/coverage/media-downloader.xml + flags: unittests + env_vars: OS,PYTHON + name: codecov-umbrella + fail_ci_if_error: true \ No newline at end of file