Revert "Drop coveralls support because of https://github.com/coverallsapp/github-action/issues/30"
This reverts commit e660da8e2f.
master
parent
af47f07011
commit
b646d1b4d6
|
|
@ -37,15 +37,30 @@ jobs:
|
|||
JYTHON: ${{ matrix.jython }}
|
||||
- name: Install dependencies
|
||||
# for some reason installing from https://github.com/baztian/tox-gh-actions/archive/allow-env-override.tar.gz doesn't work
|
||||
run: pip install tox git+https://github.com/baztian/tox-gh-actions.git@allow-env-override
|
||||
run: pip install coveralls tox git+https://github.com/baztian/tox-gh-actions.git@allow-env-override
|
||||
- name: Test with tox for Jython only
|
||||
if: matrix.jython
|
||||
run: tox -e "${{ matrix.toxenv }}"
|
||||
- name: Test with tox for non Jython only
|
||||
if: ${{ ! matrix.jython }}
|
||||
run: tox
|
||||
- name: SonarCloud Scan
|
||||
uses: sonarsource/sonarcloud-github-action@master
|
||||
- name: Coveralls Parallel
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
# required due to https://github.com/coverallsapp/github-action/issues/50
|
||||
COVERALLS_FLAG_NAME: run-${{ matrix.python-version }}-${{ matrix.plattform }}
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.github_token }}
|
||||
path-to-lcov: .coverage
|
||||
# flag-name: run-${{ matrix.python-version }}-${{ matrix.plattform }}
|
||||
parallel: true
|
||||
|
||||
finish:
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Coveralls Finished
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.github_token }}
|
||||
parallel-finished: true
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@
|
|||
.. image:: https://github.com/baztian/jaydebeapi/workflows/CI/badge.svg
|
||||
:target: https://github.com/baztian/jaydebeapi/actions
|
||||
|
||||
.. image:: https://img.shields.io/coveralls/baztian/jaydebeapi/master.svg
|
||||
:target: https://coveralls.io/r/baztian/jaydebeapi
|
||||
|
||||
.. image:: https://img.shields.io/badge/python-2.7,_3.5,_3.6-blue.svg
|
||||
:target: https://pypi.python.org/pypi/JayDeBeApi/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue