Skip to content

Commit

Permalink
refactor testing enviroment
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed May 27, 2021
1 parent 8ace3a0 commit 1ae4952
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 16 deletions.
6 changes: 6 additions & 0 deletions base.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[buildout]
extensions = mr.developer
versions = versions

[code-analysis]
directory= ${buildout:directory}/src/collective/taxonomy
9 changes: 0 additions & 9 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,7 @@ recipe = zc.recipe.egg
eggs = zest.releaser[recommended]

[code-analysis]
recipe = plone.recipe.codeanalysis
directory = ${buildout:directory}/src/collective/taxonomy
pre-commit-hook = False
flake8-ignore = E501,C901
debug-statements = True
deprecated-aliases = True
imports = True
prefer-single-quotes = True
return-status-codes = False
utf8-header = True

[versions]
setuptools =
Expand Down
3 changes: 0 additions & 3 deletions requirements-5.0.x.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements-5.1.x.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements-5.2.x.txt

This file was deleted.

32 changes: 32 additions & 0 deletions test-5.0.x.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[buildout]
extends =
https://raw.githubusercontent.com/collective/buildout.plonetest/master/test-5.0.x.cfg
https://raw.githubusercontent.com/collective/buildout.plonetest/master/qa.cfg
# https://raw.githubusercontent.com/plone/plone.app.mosaic/master/versions.cfg
base.cfg

parts +=
test
code-analysis
createcoverage

package-name = collective.taxonomy
package-extras = [test]
test-eggs =

[code-analysis]
flake8-ignore = E501,E241

[versions]
setuptools =
zc.buildout =
coverage = >=3.7
plone.app.robotframework = 1.5.0
# We no longer get a versions seperate from coredev buildout for these so have to upgrade them ourselves
robotframework-selenium2screenshots = 0.8.1
robotframework-selenium2library = 3.0.0
robotframework = 3.0.4
robotframework-seleniumlibrary = 3.2.0
robotsuite = 2.0.0
selenium = >=3.4.0
plone.recipe.codeanalysis = 2.3
24 changes: 24 additions & 0 deletions test-5.1.x.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[buildout]
extends =
https://raw.githubusercontent.com/collective/buildout.plonetest/master/test-5.1.x.cfg
https://raw.githubusercontent.com/collective/buildout.plonetest/master/qa.cfg
https://raw.githubusercontent.com/plone/plone.app.robotframework/master/versions.cfg
base.cfg

parts +=
test
code-analysis
createcoverage

package-name = collective.taxonomy
package-extras = [test]
test-eggs =

[code-analysis]
flake8-ignore = E501,E241

[versions]
setuptools =
zc.buildout =
coverage = >=3.7
plone.app.robotframework = 1.5.0
24 changes: 24 additions & 0 deletions test-5.2.x.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[buildout]
extends =
https://raw.githubusercontent.com/collective/buildout.plonetest/master/test-5.2.x.cfg
https://raw.githubusercontent.com/collective/buildout.plonetest/master/qa.cfg
https://raw.githubusercontent.com/plone/plone.app.robotframework/master/versions.cfg
base.cfg

parts +=
test
code-analysis
createcoverage

package-name = collective.taxonomy
package-extras = [test]
test-eggs =

[code-analysis]
flake8-ignore = E501,E241

[versions]
setuptools =
zc.buildout =
coverage = >=3.7
plone.app.robotframework = 1.5.0

0 comments on commit 1ae4952

Please sign in to comment.