Required Python version to be used.
Default value: 3.11
.
Required Plone version to be used.
Default value: 6.0
.
Setuptools version to be used. If not specified, we use the version from the constraints file of the chosen Plone version.
Default value: ``.
Additional packages to be installed. This is useful to pin versions of packages listed on contraints.txt. i.e.: plone.restapi>=8.13.0
.
Default value: ``.
Deprecated alias for additional-packages
. Still supported for now.
Default value: ``.
Add the a workflow file in your repository: .github/workflows/test.yml
.
- name: Setup Plone 6.0.10.1 with Python 3.11
uses: plone/setup-plone@v2.0.0
with:
python-version: '3.11'
plone-version: '6.0.10.1'
- name: Install addon package, in editable mode, with pip
run: |
pip install -e ".[test]"
- name: Run tests (located inside src)
run: |
zope-testrunner --auto-color --auto-progress --test-path src/
- Use
setuptools-version
from chosenplone-version
if not explicitly specified. [maurits] - Mark
plone-version
andpython-version
as really required,setuptools-version
and the others not. [maurits] - Rename
additional-eggs
toadditional-packages
. Keep the previous spelling as well and use it, but mark it as deprecated. [maurits] - Update
actions/setup-python
to v5. [maurits]
- Update
actions/setup-python
to v4. [ericof]
- Add support for
setuptools-version
option [ericof]
- Add support for
additional-eggs
option [ericof]
- Initial release of plone/setup-plone [ericof]
Plone CMS is the ultimate enterprise CMS.