Browse Source

Run coveralls for one specific job only

pull/453/head
Pēteris Caune 4 years ago
parent
commit
d1e9d4578b
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 5 additions and 12 deletions
  1. +5
    -12
      .github/workflows/django.yml

+ 5
- 12
.github/workflows/django.yml View File

@ -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
if: matrix.db == 'postgres' && matrix.python-version == '3.8'
run: coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save