From f539431e4945a4aeca6c64d79ffb69fac7629460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Wed, 6 Mar 2024 14:25:45 +0100 Subject: [PATCH] add Radon to CC --- .github/workflows/ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 243b620c..b7e46b8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,12 +19,19 @@ jobs: sudo apt-get install -y python3-setuptools python3-yaml pip install -U pip setuptools wheel disttools packaging pip install -U -e .[test,dev] + - name: Before the coverage + run: | + wget https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 + chmod ugo+x test-reporter-latest-linux-amd64 + ./test-reporter-latest-linux-amd64 before-build + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} - name: Test run: pytest -n 8 -vv --cov=satella - - uses: paambaati/codeclimate-action@main - with: - coverageCommand: coverage xml - name: Submit the code coverage + - name: Submit the code coverage + run: | + ./test-reporter-latest-linux-amd64 format-coverage -t coverage.py + ./test-reporter-latest-linux-amd64 after-build env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} build-project: -- GitLab