Browse Source

Add coveralls take 2

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

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

@ -7,7 +7,7 @@ on:
branches: [ master ]
jobs:
build:
test:
runs-on: ubuntu-20.04
strategy:
@ -64,18 +64,15 @@ jobs:
DB_PASSWORD: hunter2
run: |
coverage run --omit=*/tests/* --source=hc manage.py test
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.python-version }}-${{ matrix.db }}
parallel: true
finish:
needs: build
needs: test
runs-on: ubuntu-20.04
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
uses: AndreMiras/coveralls-python-action@develop
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true

Loading…
Cancel
Save