baztian 2020-06-19 23:06:02 +02:00
parent 6b42342a05
commit e660da8e2f
2 changed files with 1 additions and 24 deletions

View File

@ -37,30 +37,10 @@ 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 coveralls tox git+https://github.com/baztian/tox-gh-actions.git@allow-env-override
run: pip install 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: Coveralls Parallel
env:
# 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

View File

@ -5,9 +5,6 @@
.. 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/