From 29d3ffae4f0012ef77e797368ba4e87710289b92 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:19:43 +0100 Subject: [PATCH] add Radon to CC --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8bc69029..243b620c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,15 +19,14 @@ 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: Test everything + - name: Test run: pytest -n 8 -vv --cov=satella - - run: | - pip install coverage[toml] codeclimate-test-reporter - coverage xml - codeclimate-test-reporter + - uses: paambaati/codeclimate-action@main + with: + coverageCommand: coverage xml name: Submit the code coverage env: - CODECLIMATE_REPO_TOKEN: ${{ secrets.CC_TEST_REPORTER_ID }} + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} build-project: runs-on: ubuntu-20.04 steps: -- GitLab