This reverts commit e660da8e2f.
master
baztian 2020-06-19 23:23:27 +02:00
parent af47f07011
commit b646d1b4d6
2 changed files with 23 additions and 5 deletions

View File

@ -37,15 +37,30 @@ jobs:
JYTHON: ${{ matrix.jython }} JYTHON: ${{ matrix.jython }}
- name: Install dependencies - name: Install dependencies
# for some reason installing from https://github.com/baztian/tox-gh-actions/archive/allow-env-override.tar.gz doesn't work # 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 - name: Test with tox for Jython only
if: matrix.jython if: matrix.jython
run: tox -e "${{ matrix.toxenv }}" run: tox -e "${{ matrix.toxenv }}"
- name: Test with tox for non Jython only - name: Test with tox for non Jython only
if: ${{ ! matrix.jython }} if: ${{ ! matrix.jython }}
run: tox run: tox
- name: SonarCloud Scan - name: Coveralls Parallel
uses: sonarsource/sonarcloud-github-action@master
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required due to https://github.com/coverallsapp/github-action/issues/50
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} 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

View File

@ -5,6 +5,9 @@
.. image:: https://github.com/baztian/jaydebeapi/workflows/CI/badge.svg .. image:: https://github.com/baztian/jaydebeapi/workflows/CI/badge.svg
:target: https://github.com/baztian/jaydebeapi/actions :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 .. image:: https://img.shields.io/badge/python-2.7,_3.5,_3.6-blue.svg
:target: https://pypi.python.org/pypi/JayDeBeApi/ :target: https://pypi.python.org/pypi/JayDeBeApi/