kopia lustrzana https://github.com/collective/icalendar
Merge branch 'main' into remove-pytz
commit
cc32aa60da
|
@ -44,15 +44,32 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install tox
|
||||
pip install tox coveralls coverage-python-version
|
||||
- name: Test
|
||||
run: tox -e ${{ matrix.config[1] }}
|
||||
- name: Coverage
|
||||
run: |
|
||||
pip install coveralls coverage-python-version
|
||||
coveralls --service=github
|
||||
- name: Upload coverage data to coveralls.io
|
||||
run: coveralls --service=github-actions
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
COVERALLS_FLAG_NAME: ${{ matrix.config[1] }}
|
||||
COVERALLS_PARALLEL: true
|
||||
|
||||
coverage:
|
||||
# parallel test coverage upload
|
||||
# see https://coveralls-python.readthedocs.io/en/latest/usage/configuration.html#github-actions-support
|
||||
name: Submit test coverage
|
||||
needs: run-tests
|
||||
runs-on: ubuntu-latest
|
||||
container: python:3-slim
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: pip3 install --upgrade coveralls
|
||||
- name: Upload coverage
|
||||
run: coveralls --service=github-actions --finish
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
deploy-tag-to-pypi:
|
||||
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
|
||||
|
|
|
@ -7,11 +7,12 @@ Changelog
|
|||
Minor changes:
|
||||
|
||||
- Test that all code works with both ``pytz`` and ``zoneinfo``.
|
||||
- Make coverage report submission optional for pull requests
|
||||
- Rename ``master`` branch to ``main``, see `Issue
|
||||
<https://github.com/collective/icalendar/issues/627>`_
|
||||
|
||||
- Added missing public classes and functions to API documentation.
|
||||
- Add version badge
|
||||
- Update list of ``tox`` environments
|
||||
|
||||
Breaking changes:
|
||||
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,6 +1,6 @@
|
|||
# to run for a specific environment, use ``tox -e ENVNAME``
|
||||
[tox]
|
||||
envlist = py37,py38,py39,py310,py311,pypy3,docs,nopytz
|
||||
envlist = py38,py39,py310,py311,312,pypy3,docs,nopytz
|
||||
# Note: the 'docs' env creates a 'build' directory which may interfere in strange ways
|
||||
# with the other environments. You might see this when you run the tests in parallel.
|
||||
# See https://github.com/collective/icalendar/pull/359#issuecomment-1214150269
|
||||
|
|
Ładowanie…
Reference in New Issue