From 597146b136216fb642f8dad2be74552d989584a6 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sat, 21 Aug 2021 09:04:44 -0400 Subject: [PATCH] submit coverage to coveralls --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2a8103924..101a56982 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,6 +61,12 @@ jobs: env: HOME: /tmp run: python -m unittest tests/unit/test_conf.py + - name: submit coverage report + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + flag-name: tests-unit-${{ matrix.os }} + parallel: true tests-integration: name: "tests / integration" @@ -99,6 +105,16 @@ jobs: - run: pip install tox - run: tox -e ${{ matrix.test }} + coverage: + needs: ["tests-unit", "tests-integration"] + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + parallel-finished: true + build: needs: ["lint", "tests-unit", "tests-integration"] name: "build / binary"