Skip to content

Commit

Permalink
Merge branch 'main' into bugfix/ordering-file-groups-with-suite-comma…
Browse files Browse the repository at this point in the history
…nd-line-args
  • Loading branch information
mkorpela authored Nov 30, 2024
2 parents 1d9d5df + e419a0d commit 864da8d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cd ..
git clone [email protected]:mkorpela/pabot.git pabotrelease
cd pabotrelease
python setup.py sdist
python -m build
twine upload -r robotframework-pabot dist/*.*
2 changes: 1 addition & 1 deletion src/pabot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import absolute_import

from .pabotlib import PabotLib
__version__ = "3.0.1"
__version__ = "3.1.0"
9 changes: 5 additions & 4 deletions src/pabot/pabot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,14 +1152,15 @@ def generate_suite_names_with_builder(outs_dir, datasources, options):
settings = RobotSettings(opts)

# Note: first argument (included_suites) is deprecated from RobotFramework 6.1
if ROBOT_VERSION < "6.1":
if ROBOT_VERSION >= "6.1":
builder = TestSuiteBuilder(
settings["SuiteNames"], settings.extension, rpa=settings.rpa
included_extensions=settings.extension, rpa=settings.rpa, lang=opts.get("language")
)
else:
builder = TestSuiteBuilder(
included_extensions=settings.extension, rpa=settings.rpa
)
settings["SuiteNames"], settings.extension, rpa=settings.rpa
)

suite = builder.build(*datasources)
settings.rpa = builder.rpa
suite.configure(**settings.suite_config)
Expand Down

0 comments on commit 864da8d

Please sign in to comment.