-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from senaite/compat-core-2471
Compatibility with core#2471 and core#2567
- Loading branch information
Showing
12 changed files
with
88 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: build and test senaite.ast | ||
on: | ||
- push | ||
- pull_request | ||
env: | ||
PLONE_VERSION: "5.2" | ||
jobs: | ||
build-and-test: | ||
runs-on: 'ubuntu-20.04' | ||
container: | ||
image: python:2.7.18-buster | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: cache eggs | ||
uses: actions/cache@v3 | ||
with: | ||
key: eggs-cache-${{ hashFiles('buildout.cfg', 'requirements.txt') }} | ||
path: | | ||
eggs/ | ||
- name: install | ||
run: | | ||
pip install virtualenv | ||
virtualenv -p `which python` . | ||
bin/pip install --upgrade pip | ||
bin/pip install -r requirements.txt | ||
bin/buildout -N -t 3 annotate | ||
bin/buildout -N -t 3 | ||
- name: test | ||
run: | | ||
bin/test -s senaite.ast.tests |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,7 @@ | ||
[buildout] | ||
index = https://pypi.org/simple/ | ||
extends = https://dist.plone.org/release/5.2-latest/versions.cfg | ||
find-links = | ||
https://dist.plone.org/release/5.2-latest/ | ||
https://dist.plone.org/thirdparty/ | ||
|
||
parts = | ||
instance | ||
test | ||
omelette | ||
i18ndude | ||
zopepy | ||
update_translations | ||
write_code_headers | ||
|
||
eggs = | ||
senaite.core | ||
senaite.app.listing | ||
senaite.app.spotlight | ||
senaite.app.supermodel | ||
senaite.impress | ||
senaite.jsonapi | ||
senaite.lims | ||
senaite.abx | ||
senaite.microorganism | ||
senaite.ast | ||
plone.reload | ||
Products.PrintingMailHost | ||
|
||
extensions = mr.developer | ||
|
||
extends = https://raw.githubusercontent.com/senaite/senaite.core/2.x/buildout.base.cfg | ||
package-name = senaite.ast | ||
|
||
versions = versions | ||
show-picked-versions = true | ||
|
||
plone-user = admin:admin | ||
|
||
develop = . | ||
sources = sources | ||
auto-checkout = * | ||
|
||
[sources] | ||
senaite.core = git https://github.com/senaite/senaite.core.git branch=2.x | ||
senaite.app.listing = git https://github.com/senaite/senaite.app.listing.git branch=2.x | ||
senaite.app.spotlight = git https://github.com/senaite/senaite.app.spotlight.git branch=2.x | ||
senaite.app.supermodel = git https://github.com/senaite/senaite.app.supermodel.git branch=2.x | ||
senaite.impress = git https://github.com/senaite/senaite.impress.git branch=2.x | ||
senaite.jsonapi = git https://github.com/senaite/senaite.jsonapi.git branch=2.x | ||
senaite.lims = git https://github.com/senaite/senaite.lims.git branch=2.x | ||
senaite.abx = git https://github.com/senaite/senaite.abx.git | ||
senaite.microorganism = git https://github.com/senaite/senaite.microorganism.git | ||
|
||
[instance] | ||
recipe = plone.recipe.zope2instance | ||
http-address = 127.0.0.1:8080 | ||
user = ${buildout:plone-user} | ||
wsgi = on | ||
eggs = | ||
Plone | ||
plone.app.upgrade | ||
${buildout:package-name} | ||
${buildout:eggs} | ||
deprecation-warnings = on | ||
environment-vars = | ||
zope_i18n_compile_mo_files true | ||
zcml = | ||
|
||
[i18ndude] | ||
unzip = true | ||
recipe = zc.recipe.egg | ||
eggs = i18ndude | ||
|
||
[update_translations] | ||
recipe = collective.recipe.template | ||
output = ${buildout:directory}/bin/update_translations | ||
input = ${buildout:directory}/templates/update_translations.in | ||
mode = 755 | ||
|
||
[write_code_headers] | ||
recipe = collective.recipe.template | ||
output = ${buildout:directory}/bin/write_code_headers | ||
input = ${buildout:directory}/templates/write_code_headers.py.in | ||
mode = 755 | ||
|
||
[test] | ||
recipe = zc.recipe.testrunner | ||
defaults = ['--auto-color', '--auto-progress'] | ||
eggs = | ||
senaite.ast [test] | ||
|
||
[omelette] | ||
recipe = collective.recipe.omelette | ||
eggs = ${buildout:eggs} | ||
|
||
[zopepy] | ||
recipe = zc.recipe.egg | ||
eggs = ${instance:eggs} | ||
interpreter = zopepy | ||
scripts = zopepy | ||
|
||
[versions] | ||
setuptools = | ||
zc.buildout = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
setuptools==42.0.2 | ||
setuptools==44.1.1 | ||
zc.buildout==2.13.3 | ||
wheel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.