Skip to content

plone/setup-plone

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Setup Plone

Action on GH marketplace   GitHub release   GitHub

This action set up Plone and 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.

- 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 is the ultimate enterprise CMS.

Follow us

plone on twitter

About

Github Action to setup Plone

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •