From 221996887096b43224aeba894b43efbe4fae3d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ege=20Emir=20=C3=96zkan?= Date: Sat, 8 May 2021 18:48:08 +0300 Subject: [PATCH] Add coverage to the github action. --- .github/workflows/test_ci.yml | 1 + coverage.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_ci.yml b/.github/workflows/test_ci.yml index 47f70ed..d4662be 100644 --- a/.github/workflows/test_ci.yml +++ b/.github/workflows/test_ci.yml @@ -28,6 +28,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + pip install coverage - name: Test & publish code coverage uses: paambaati/codeclimate-action@v2.6.0 env: diff --git a/coverage.sh b/coverage.sh index 1729ae4..4069128 100644 --- a/coverage.sh +++ b/coverage.sh @@ -1,2 +1,2 @@ coverage run -m unittest test/main_tests.py -coverage xml \ No newline at end of file +coverage xml