kopia lustrzana https://github.com/collective/icalendar
use coveralls' github action
rodzic
a7062b9c47
commit
164252e3f9
|
|
@ -47,13 +47,11 @@ jobs:
|
||||||
pip install tox coveralls coverage-python-version
|
pip install tox coveralls coverage-python-version
|
||||||
- name: Test
|
- name: Test
|
||||||
run: tox -e ${{ matrix.config[1] }}
|
run: tox -e ${{ matrix.config[1] }}
|
||||||
- name: Upload coverage data to coveralls.io
|
- name: Coveralls Parallel
|
||||||
run: coveralls --service=github || which coveralls
|
uses: coverallsapp/github-action@v2
|
||||||
env:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
flag-name: run-${{ join(matrix.*, '-') }}
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
parallel: true
|
||||||
COVERALLS_FLAG_NAME: ${{ matrix.config[1] }}
|
|
||||||
COVERALLS_PARALLEL: true
|
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
# parallel test coverage upload
|
# parallel test coverage upload
|
||||||
|
|
@ -64,15 +62,11 @@ jobs:
|
||||||
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-not-requiring-successful-dependent-jobs
|
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-not-requiring-successful-dependent-jobs
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: python:3-slim
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Coveralls Finished
|
||||||
run: pip3 install --upgrade coveralls
|
uses: coverallsapp/github-action@v2
|
||||||
- name: Upload coverage
|
with:
|
||||||
run: coveralls --service=github --finish || which coveralls
|
parallel-finished: true
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
|
|
||||||
deploy-tag-to-pypi:
|
deploy-tag-to-pypi:
|
||||||
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
|
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
|
||||||
|
|
|
||||||
|
|
@ -11,12 +11,13 @@ Minor changes:
|
||||||
- Parallelize coverage
|
- Parallelize coverage
|
||||||
- Rename ``master`` branch to ``main``, see `Issue
|
- Rename ``master`` branch to ``main``, see `Issue
|
||||||
<https://github.com/collective/icalendar/issues/627>`_
|
<https://github.com/collective/icalendar/issues/627>`_
|
||||||
- Update ``docs/usage.rst`` to use zoneinfo instead of pytz.
|
- Update ``docs/usage.rst`` to use zoneinfo instead of pytz.
|
||||||
- Added missing public classes and functions to API documentation.
|
- Added missing public classes and functions to API documentation.
|
||||||
- Improved namespace management in the ``icalendar`` directory.
|
- Improved namespace management in the ``icalendar`` directory.
|
||||||
- Add Python version badge and badge for test coverage
|
- Add Python version badge and badge for test coverage
|
||||||
- Remove 4.x badge
|
- Remove 4.x badge
|
||||||
- Update list of ``tox`` environments
|
- Update list of ``tox`` environments
|
||||||
|
- Use Coveralls' GitHub Action
|
||||||
|
|
||||||
Breaking changes:
|
Breaking changes:
|
||||||
|
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue