From 119269b07d6b74de23743dc6a6c255361f017689 Mon Sep 17 00:00:00 2001 From: Lova ANDRIARIMALALA <43842786+Xpirix@users.noreply.github.com> Date: Fri, 3 May 2024 15:50:01 +0300 Subject: [PATCH] Remove code coverage from test.yaml (#394) --- .github/workflows/test.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 46bea456..08e6211d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -57,19 +57,12 @@ jobs: - name: Wait for the containers to start run: sleep 15 - - name: Run Coverage test + - name: Run test run: | docker-compose exec -T devweb bash -c ' set -e # Exit immediately if any command fails - pip install coverage && python manage.py makemigrations && python manage.py migrate && - coverage run manage.py test && - coverage xml + python manage.py test ' - - name: Upload coverage to codecov - uses: codecov/codecov-action@v4 - with: - fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }}