# setup-plone
**Repository Path**: mirrors_plone/setup-plone
## Basic Information
- **Project Name**: setup-plone
- **Description**: Github Action to setup Plone
- **Primary Language**: Unknown
- **License**: GPL-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-12-08
- **Last Updated**: 2026-05-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Setup Plone
[![Action on GH marketplace][marketplace badge]][marketplace]
[![GitHub release][release badge]][latest release]
[![GitHub][LICENSE badge]][LICENSE]
This action set up [Plone](https://plone.org "Plone CMS") and [Python](https://python.org "Python") within a Github workflow to be used in tests.
## Inputs
### `python-version`
**Required** Python version to be used.
Default value: `3.11`.
### `plone-version`
**Required** Plone version to be used.
Default value: `6.0`.
### `setuptools-version`
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`
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: ``.
### `additional-eggs`
Deprecated alias for `additional-packages`. Still supported for now.
Default value: ``.
## Usage
### Setup Plone
Add the a workflow file in your repository: `.github/workflows/test.yml`.
```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/
```
## Changes
### v2.1.0 (unreleased)
* Use `setuptools-version` from chosen `plone-version` if not explicitly specified. [maurits]
* Mark `plone-version` and `python-version` as really required, `setuptools-version` and the others not. [maurits]
* Rename `additional-eggs` to `additional-packages`. Keep the previous spelling as well and use it, but mark it as deprecated. [maurits]
* Update `actions/setup-python` to v5. [maurits]
### v2.0.0 (2022-12-05)
* Update `actions/setup-python` to v4. [ericof]
### v1.2.0 (2022-11-23)
* Add support for `setuptools-version` option [ericof]
### v1.1.0 (2021-11-10)
* Add support for `additional-eggs` option [ericof]
### v1.0.0 (2021-10-29)
* Initial release of plone/setup-plone [ericof]
## About
[Plone CMS](https://plone.org/ "Plone") is the ultimate enterprise CMS.
### Follow us
[![plone on twitter][twitter badge]][twitter]
[twitter badge]: https://img.shields.io/twitter/follow/plone.svg?style=social
[twitter]: https://twitter.com/intent/follow?screen_name=plone
[marketplace badge]: https://img.shields.io/badge/GitHub-Marketplace-lightblue.svg
[marketplace]: https://github.com/marketplace/actions/setup-plone-python
[LICENSE badge]: https://img.shields.io/github/license/plone/setup-plone.svg
[LICENSE]: https://github.com/plone/setup-plone/blob/master/LICENSE
[release badge]: https://img.shields.io/github/release/plone/setup-plone.svg
[latest release]: https://github.com/plone/setup-plone/releases/latest
[star badge]: https://img.shields.io/github/stars/plone/setup-plone.svg?style=social
[star]: https://github.com/plone/setup-plone
[gh profile]: https://github.com/plone