Skip to content

Commit

Permalink
GHA run buildout Plone 6
Browse files Browse the repository at this point in the history
  • Loading branch information
gotcha committed Feb 20, 2023
1 parent 0b3d331 commit c705913
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/buildout-39-60.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 3.9 6.0 Run buildout and instance
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Caching
uses: actions/[email protected]
with:
path: |
eggs
key: cache-Py3.9-Plone6.0
- name: Install venv
run: |
pip install virtualenv
virtualenv -p 3 .
bin/pip install -r requirements.txt
bin/buildout -c test-6.x.cfg install instance
- name: Check that instance starts
run: |
bin/instance run startup.py
2 changes: 1 addition & 1 deletion test-5.2.x.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ eggs =
Plone

[remotes]
collective = git://github.com/collective
collective = https://github.com/collective
collective_push = [email protected]:collective

[sources]
Expand Down
43 changes: 43 additions & 0 deletions test-6.x.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[buildout]
extends = https://raw.githubusercontent.com/collective/buildout.plonetest/master/plone-6.0.x.cfg
package-name = collective.plonefinder
package-extras =

extensions = mr.developer
allow-picked-versions = false

parts +=
omelette
test

auto-checkout = collective.quickupload

[test]
recipe = zc.recipe.testrunner
defaults = ['-s', '${buildout:package-name}', '--auto-color', '--auto-progress']
eggs =
${buildout:package-name} ${buildout:package-extras}
${buildout:eggs}

# plone.app.testing now imports from Products.CMFPlacefulWorkflow, which
# is often not installed because no explicity dependency is declared.
# We now always install the Plone egg in order to have the full Plone stack ready.
# https://github.com/plone/plone.app.upgrade/commit/b6a0f6e8865e94b53ff9f7f68385774fa7d5ab02
Plone

[remotes]
collective = git://github.com/collective
collective_push = [email protected]:collective

[sources]
collective.quickupload = git ${remotes:collective}/collective.quickupload.git pushurl=${remotes:collective_push}/collective.quickupload.git branch=plone5

[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}

[versions]
zc.buildout =
setuptools =
ua-parser = 0.10.0
zipp = 1.2.0

0 comments on commit c705913

Please sign in to comment.