From 1fe444bca2f63c569ed9cc06d60451ede453edda Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Tue, 9 Jun 2020 16:58:22 -0400 Subject: [PATCH] andremiras coveralls --- .github/workflows/main.yml | 43 +++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ae4adcae..62abeb36b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,25 +51,38 @@ jobs: HOME: /tmp run: coverage run -m unittest -vv tests.unit.test_conf # run: coverage run -m unittest discover -vv tests.unit +# - if: startsWith(runner.os, 'linux') || startsWith(runner.os, 'mac') +# env: +# COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# COVERALLS_PARALLEL: true +# name: Submit to coveralls +# run: | +# pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip +# coveralls - if: startsWith(runner.os, 'linux') || startsWith(runner.os, 'mac') - env: - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COVERALLS_PARALLEL: true - name: Submit to coveralls - run: | - pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip - coveralls + uses: AndreMiras/coveralls-python-action@develop + with: + parallel: true - complete_coverals: - needs: tests-unit + coveralls_finish: + needs: test runs-on: ubuntu-latest steps: - - name: Coveralls Finished - uses: coverallsapp/github-action@master - #uses: coverallsapp/github-action@57daa114 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - parallel-finished: true + - name: Coveralls Finished + uses: AndreMiras/coveralls-python-action@develop + with: + parallel-finished: true + +# complete_coverals: +# needs: tests-unit +# runs-on: ubuntu-latest +# steps: +# - name: Coveralls Finished +# uses: coverallsapp/github-action@master +# #uses: coverallsapp/github-action@57daa114 +# with: +# github-token: ${{ secrets.GITHUB_TOKEN }} +# parallel-finished: true # tests-integration: # name: "tests / integration"