From d1e9d4578be28b9c2735e9b19267834234346ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Fri, 20 Nov 2020 22:48:40 +0200 Subject: [PATCH] Run coveralls for one specific job only --- .github/workflows/django.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index bfdd41c0..d36c8400 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -55,7 +55,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install apprise braintree coverage mysqlclient + pip install apprise braintree coverage coveralls mysqlclient - name: Run Tests env: DB: ${{ matrix.db }} @@ -65,14 +65,7 @@ jobs: run: | coverage run --omit=*/tests/* --source=hc manage.py test - name: Coveralls - uses: AndreMiras/coveralls-python-action@develop - with: - parallel: true - finish: - needs: test - runs-on: ubuntu-20.04 - steps: - - name: Coveralls Finished - uses: AndreMiras/coveralls-python-action@develop - with: - parallel-finished: true \ No newline at end of file + if: matrix.db == 'postgres' && matrix.python-version == '3.8' + run: coveralls + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file