Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
977 commits
Select commit Hold shift + click to select a range
5b41b69
Rename PyTestServiceClass to PyTestService
HardNorth Feb 12, 2025
53b541b
Rename PyTestServiceClass to PyTestService
HardNorth Feb 12, 2025
bab6609
Do not start item if pytest-bdd detected
HardNorth Feb 12, 2025
97b41c2
Fix tests
HardNorth Feb 12, 2025
5a11123
Fix imports
HardNorth Feb 12, 2025
8b97b97
Update bdd test
HardNorth Feb 12, 2025
f8e74b6
Pytest BDD implementation: WIP
HardNorth Feb 13, 2025
1095f21
Pytest BDD implementation: rollback argument rename and supress some …
HardNorth Feb 13, 2025
d3429e3
Pytest BDD implementation: add pydocs and enable checks
HardNorth Feb 13, 2025
f68a174
Pytest BDD implementation: fix test format
HardNorth Feb 13, 2025
3dfa81d
Update isort to fix warnings
HardNorth Feb 13, 2025
cda1233
Add more types
HardNorth Feb 13, 2025
587950c
Pytest BDD implementation: revert Item report skip
HardNorth Feb 13, 2025
79e9262
Pytest BDD implementation: WIP
HardNorth Feb 13, 2025
dbf43c5
Pytest BDD implementation: WIP
HardNorth Feb 13, 2025
f2d5b1b
Fix fixture failure logging
HardNorth Feb 14, 2025
b1c1fe0
Fix fixture failure logging
HardNorth Feb 14, 2025
8a75482
Fix fixture failure logging
HardNorth Feb 14, 2025
0135697
Update test
HardNorth Feb 14, 2025
2fe376d
Pytest BDD implementation: WIP
HardNorth Feb 14, 2025
ca60286
Update pre-commit version
HardNorth Feb 15, 2025
d21c197
Pytest BDD implementation: WIP
HardNorth Feb 17, 2025
d912fc7
Add code_ref check
HardNorth Feb 18, 2025
2e5a6bc
Add more checks and fixes
HardNorth Feb 18, 2025
29ca84c
Fix traceback logging for old versions of Python
HardNorth Feb 18, 2025
ffd63de
Bump pytest-bdd version
HardNorth Feb 18, 2025
44d8c9d
Bump pytest-bdd version
HardNorth Feb 18, 2025
aeb1a84
Backward compatibility fixes
HardNorth Feb 18, 2025
7d659e6
Backward compatibility fixes
HardNorth Feb 18, 2025
43818a6
Add tests
HardNorth Feb 18, 2025
1009e2e
Add tests
HardNorth Feb 18, 2025
5518f31
Fix `report_bdd_step_error` function
HardNorth Feb 18, 2025
07e1913
Make docstring test separate one
HardNorth Feb 18, 2025
e7f9fb3
Backward compatibility fix
HardNorth Feb 18, 2025
007d672
Add another test and fixes
HardNorth Feb 18, 2025
0484876
Add another check and fixes
HardNorth Feb 18, 2025
a46cd1a
Log pytest's error to scenario
HardNorth Feb 19, 2025
fc6bbfa
A style fix
HardNorth Feb 19, 2025
ea25b5c
Rename test
HardNorth Feb 19, 2025
b03282e
Add more tests
HardNorth Feb 19, 2025
266ce8f
Add attribute processing
HardNorth Feb 19, 2025
3d40d59
Add another test
HardNorth Feb 19, 2025
3a80067
Add another test
HardNorth Feb 19, 2025
a4a2060
Pytest BDD implementation: Backgrounds: WIP
HardNorth Feb 20, 2025
7321635
Pytest BDD implementation: finish Backgrounds
HardNorth Feb 20, 2025
8839991
Fix item merge
HardNorth Feb 21, 2025
e21b7e8
Fix item merge
HardNorth Feb 21, 2025
cedca54
Unignore tests
HardNorth Feb 21, 2025
846c8a8
Add another test
HardNorth Feb 21, 2025
67e0bdb
Pytest BDD implementation: Rule keyword: WIP
HardNorth Feb 21, 2025
b8884ba
Pytest BDD implementation: Rule keyword: WIP
HardNorth Feb 21, 2025
7b60810
Fix tests
HardNorth Feb 24, 2025
802beb8
Add more tests
HardNorth Feb 24, 2025
fa498ad
Pytest BDD implementation: Scenario Outline: WIP
HardNorth Feb 24, 2025
0aeb589
Pytest BDD implementation: Scenario Outline: done
HardNorth Feb 25, 2025
3c9499d
Fix tests for Python 3.8
HardNorth Feb 25, 2025
467748b
Fix tests for Python 3.8
HardNorth Feb 25, 2025
a0fc517
Fix tests for Python 3.8
HardNorth Feb 25, 2025
5893575
Fix isort
HardNorth Feb 25, 2025
63d1d70
Update reportportal-client to 5.6.1 and refactor scenario description…
HardNorth Feb 26, 2025
127f69b
Fix isort
HardNorth Feb 26, 2025
c003dcd
Add more tests
HardNorth Feb 26, 2025
403be23
Backward compatibility fixes
HardNorth Feb 26, 2025
edb7cc2
Fix parameter description
HardNorth Feb 27, 2025
dfb3825
Simplify parameter get
HardNorth Feb 27, 2025
ad59848
Add dynamic name test and fixes
HardNorth Feb 27, 2025
74e96f9
Add another test
HardNorth Feb 27, 2025
7e05516
Add more tests
HardNorth Feb 27, 2025
3f5185f
Fix fixture reporting
HardNorth Feb 27, 2025
f34cc9e
Disable some test for old version of pytest_bdd
HardNorth Feb 27, 2025
97bd3a7
Fix imports
HardNorth Feb 27, 2025
0eeb1b6
Small refactoring
HardNorth Feb 27, 2025
f3a35f5
Add custom Test Case ID
HardNorth Feb 28, 2025
ca7a465
Add run with no pytest-bdd
HardNorth Feb 28, 2025
95a2341
Remove cov from nobdd
HardNorth Feb 28, 2025
ad0dfa7
Remove cov from nobdd
HardNorth Feb 28, 2025
0b5074f
Remove cov from nobdd
HardNorth Feb 28, 2025
96b9464
Fixes #389
HardNorth Feb 28, 2025
508fe76
Fixes #390
HardNorth Feb 28, 2025
b2a8d67
Fixes for Python 3.8
HardNorth Feb 28, 2025
00284f2
Merge pull request #391 from reportportal/develop
HardNorth Feb 28, 2025
8860178
Fix version pattern
HardNorth Feb 28, 2025
1ac580a
Fix warning
HardNorth Feb 28, 2025
aa93162
CHANGELOG.md update
HardNorth Feb 28, 2025
92a8dd0
Merge pull request #392 from reportportal/develop
HardNorth Feb 28, 2025
da2ddad
Update release.yml
HardNorth Feb 28, 2025
51549e7
Remove delayed assert
HardNorth Feb 28, 2025
43a6862
Merge pull request #393 from reportportal/develop
HardNorth Feb 28, 2025
75271a8
Fix release.yml
HardNorth Feb 28, 2025
0c1654b
Disable tagging
HardNorth Feb 28, 2025
8fd0ae1
Remove delayed asserts
HardNorth Feb 28, 2025
b7f64ce
Merge pull request #394 from reportportal/develop
HardNorth Feb 28, 2025
96a5f4a
Disable release create
HardNorth Feb 28, 2025
98ac9bd
Remove delayed asserts
HardNorth Feb 28, 2025
9f7de6a
Merge pull request #395 from reportportal/develop
HardNorth Feb 28, 2025
7e98e44
Changelog update
autoreportportal Feb 28, 2025
44d876f
Version update
autoreportportal Feb 28, 2025
0613349
Uncomment everything
HardNorth Feb 28, 2025
adfb3b5
Fix flake8
HardNorth Feb 28, 2025
49b317b
Add too long BDD Step name truncation on reporting
HardNorth Mar 4, 2025
1fc5f73
Update client
HardNorth Apr 3, 2025
cbc7402
Add an option to ignore param value in test case id
ramir-dn May 21, 2025
f5fcd5a
Add test cases
ramir-dn Jun 12, 2025
f142e63
Merge pull request #398 from ramir-dn/ramir_test
HardNorth Jun 12, 2025
42b3d6f
CHANGELOG.md update
HardNorth Jun 12, 2025
4df2c1b
Merge pull request #400 from reportportal/develop
HardNorth Jun 12, 2025
f805374
Changelog update
autoreportportal Jun 12, 2025
4390cb8
Version update
autoreportportal Jun 12, 2025
da2b637
Update setup.cfg
HardNorth Jul 7, 2025
0fb45ca
Issue #397 fix
HardNorth Jul 8, 2025
c402a8a
Merge pull request #401 from reportportal/develop
HardNorth Jul 8, 2025
e6ef0f4
Changelog update
autoreportportal Jul 8, 2025
1f9aeed
Version update
autoreportportal Jul 8, 2025
99e479b
Add PYTEST_BDD condition to speed up code a bit without it
HardNorth Jul 8, 2025
86258ec
Remove redundant comment
HardNorth Sep 11, 2025
8166f15
Ignore a flake rule
HardNorth Sep 11, 2025
3378d72
Ignore a flake rule
HardNorth Sep 16, 2025
d4b29c2
allow rp_endpoint default value to be overriden by an env var
breburdaTom Oct 1, 2025
4aec259
Merge pull request #402 from breburdaTom/allow-rp-endpoint-override
HardNorth Oct 1, 2025
65f6f73
.gitignore update
HardNorth Nov 6, 2025
1ceaec2
Client version update, property rename.
HardNorth Nov 11, 2025
6ec0e2e
OAuth 2.0 Password Grant authentication
HardNorth Nov 11, 2025
bb34b5f
Add black and isort dev requirements
HardNorth Nov 11, 2025
29dc2cf
Remove `rp_uuid` param support
HardNorth Nov 11, 2025
ade649e
Fix tests
HardNorth Nov 11, 2025
c6ade4d
Fix tests
HardNorth Nov 11, 2025
396da88
Fix tests
HardNorth Nov 11, 2025
a8d1737
Fix tests
HardNorth Nov 11, 2025
c4ea9de
Fix tests
HardNorth Nov 11, 2025
a04eddf
Fix tests
HardNorth Nov 11, 2025
40850a7
Client version update
HardNorth Nov 11, 2025
a1d9e20
Fix tests
HardNorth Nov 11, 2025
e2bf78e
Merge pull request #404 from reportportal/develop
HardNorth Nov 11, 2025
9602627
Changelog update
autoreportportal Nov 11, 2025
f75711a
Version update
autoreportportal Nov 11, 2025
b742617
Return back deprecated `rp_log_batch_payload_size` parameter for sake…
HardNorth Nov 11, 2025
b1382e6
Fix tests
HardNorth Nov 11, 2025
6a2935e
Fix tests
HardNorth Nov 11, 2025
13e1e8d
Fix flake8
HardNorth Nov 11, 2025
9c181fa
Merge pull request #405 from reportportal/develop
HardNorth Nov 11, 2025
c77a26b
Changelog update
autoreportportal Nov 11, 2025
18c4335
Version update
autoreportportal Nov 11, 2025
6898e01
README.md update
HardNorth Nov 12, 2025
1c9ba52
Minor version bump, Python 3.8 support remove, deprecated code remove
HardNorth Dec 2, 2025
cc74b8c
Fix tests
HardNorth Dec 2, 2025
957befe
.gitignore update
HardNorth Dec 2, 2025
324e0ba
Implements issue #396
HardNorth Dec 2, 2025
097e008
Update types
HardNorth Dec 2, 2025
fa13863
Add custom log level handling
HardNorth Dec 2, 2025
fe61c73
CHANGELOG.md update
HardNorth Dec 2, 2025
4b5ccbf
Fix tests
HardNorth Dec 2, 2025
0693ec6
Fix tests
HardNorth Dec 2, 2025
5eb1f77
Merge pull request #406 from reportportal/develop
HardNorth Dec 2, 2025
c22f656
Changelog update
autoreportportal Dec 2, 2025
8ed5b1e
Version update
autoreportportal Dec 2, 2025
399ebdf
CHANGELOG.md update
HardNorth Dec 2, 2025
8a5115b
fix: strip trailing @suffix for method_name in _get_code_ref
Dec 17, 2025
acaae12
added --rp-launch-attributes and --rp-tests-attributes CLI args
fahadnaeemkhan Feb 23, 2026
f7dc75e
Config variables override by environment variables logic, fixes #408
HardNorth Mar 20, 2026
c2639c8
Merge pull request #407 from Sgitario/jcarvaja/bug_test_name
HardNorth Mar 20, 2026
4def83f
CHANGELOG.md update
HardNorth Mar 20, 2026
91fef7c
Merge pull request #412 from reportportal/develop
HardNorth Mar 20, 2026
0eefde6
Changelog update
autoreportportal Mar 20, 2026
fb27cd8
Version update
autoreportportal Mar 20, 2026
e9e2e5f
Update dependencies
HardNorth Apr 3, 2026
b065cba
Update dependencies
HardNorth Apr 3, 2026
56bd486
Fix warnings
HardNorth Apr 3, 2026
e643ba6
`rp_launch_uuid` configuration parameter
HardNorth Apr 3, 2026
c34bcd7
Fix isort
HardNorth Apr 3, 2026
be8e133
Merge pull request #411 from fahadnaeemkhan/add_rp_attrs
HardNorth Apr 3, 2026
11c37cb
Update CHANGELOG.md
HardNorth Apr 3, 2026
8d5a69d
Fix tests
HardNorth Apr 3, 2026
48e3f2b
Fix tests
HardNorth Apr 3, 2026
30ea9ea
Fix tests
HardNorth Apr 3, 2026
c66cff8
Fix black
HardNorth Apr 3, 2026
19bd4c3
Merge pull request #413 from reportportal/develop
HardNorth Apr 3, 2026
449ecd8
Changelog update
autoreportportal Apr 3, 2026
7191211
Version update
autoreportportal Apr 3, 2026
ba4a4c1
Remove dill
HardNorth Apr 6, 2026
05955e9
Remove aenum
HardNorth Apr 6, 2026
ad21c01
Some type fixes
HardNorth Apr 6, 2026
8f0ccc7
Fix tests
HardNorth Apr 6, 2026
4d9a270
Client version update
HardNorth Apr 6, 2026
aeb00ce
Merge pull request #416 from reportportal/develop
HardNorth Apr 6, 2026
0a6570e
Changelog update
autoreportportal Apr 6, 2026
7b9e27c
Version update
autoreportportal Apr 6, 2026
6cf7a69
Remove parameter escape, as now it's handled by client
HardNorth Apr 6, 2026
e85465c
Fixed Agent crash in certain `pytest-bdd` cases
HardNorth Apr 7, 2026
1fbf217
Remove redundant test
HardNorth Apr 7, 2026
bdc1196
Fix import
HardNorth Apr 7, 2026
0a0cea5
Merge pull request #417 from reportportal/develop
HardNorth Apr 7, 2026
380bec9
Changelog update
autoreportportal Apr 7, 2026
2df3842
Version update
autoreportportal Apr 7, 2026
ecd0d42
fix: detect pytest-bdd scenario module path on Windows (#418)
drcrazy Apr 7, 2026
19f26c2
Fix issue 418: Detect pytest-bdd scenario module path on Windows
drcrazy Apr 7, 2026
887dbb9
Use os.path.sep
drcrazy Apr 7, 2026
12f02e2
Fix unit tests
drcrazy Apr 7, 2026
3735d44
Use os.path.join to build BDD path
drcrazy Apr 8, 2026
ac05316
Fix isort
drcrazy Apr 8, 2026
2b0ae21
Merge pull request #419 from reportportal/fix/issue-418-windows-pytes…
HardNorth Apr 8, 2026
bdab41a
Update CHANGELOG.md
HardNorth Apr 8, 2026
dc9329b
Update CHANGELOG.md
HardNorth Apr 8, 2026
bb47f8b
Merge pull request #420 from reportportal/develop
HardNorth Apr 8, 2026
91035f8
Changelog update
autoreportportal Apr 8, 2026
86b3d27
Version update
autoreportportal Apr 8, 2026
8de47a4
Dependency version update
HardNorth Apr 10, 2026
3cefa85
Remove redundant truncation (now done at the client level)
HardNorth Apr 10, 2026
f97bf4b
Microseconds precision for timestamps
HardNorth Apr 10, 2026
e328c53
Remove redundant test
HardNorth Apr 10, 2026
b07c5b6
Fix tests
HardNorth Apr 10, 2026
44755f5
Remove redundant test
HardNorth Apr 10, 2026
f1cdeeb
Fix test
HardNorth Apr 10, 2026
e9a9b1e
Merge pull request #421 from reportportal/develop
HardNorth Apr 10, 2026
ed67f4c
Changelog update
autoreportportal Apr 10, 2026
268378b
Version update
autoreportportal Apr 10, 2026
7dc43fc
Attribute splitting
HardNorth Apr 15, 2026
cbb761b
Fix style checks
HardNorth Apr 15, 2026
cc1b362
Merge pull request #422 from reportportal/develop
HardNorth Apr 15, 2026
983bc33
Changelog update
autoreportportal Apr 15, 2026
19c77b7
Version update
autoreportportal Apr 15, 2026
8d94a5e
Update `reportportal-client` to version `5.7.6`
ableeck Jun 2, 2026
4cb7482
Undo manual change to CHANGELOG.md
ableeck Jun 2, 2026
cffc2ed
Merge pull request #423 from ableeck/UpdateReportPortalClientTo576
HardNorth Jun 3, 2026
dec4832
Bump wheel from 0.40.0 to 0.46.2
dependabot[bot] Jun 3, 2026
1316732
Merge pull request #424 from reportportal/dependabot/pip/wheel-0.46.2
HardNorth Jun 3, 2026
3cb65bd
CHANGELOG.md update
HardNorth Jun 3, 2026
e4a0ac4
Merge pull request #425 from reportportal/develop
HardNorth Jun 3, 2026
93c0e98
Changelog update
autoreportportal Jun 3, 2026
1a8fb6a
Version update
autoreportportal Jun 3, 2026
419aa40
Update `reportportal-client` to version `5.7.7`
ableeck Jun 22, 2026
7a3be24
Merge pull request #426 from ableeck/UpdateReportPortalClientTo577
HardNorth Jun 22, 2026
84835a1
CHANGELOG.md update
HardNorth Jun 22, 2026
138fa51
Merge pull request #427 from reportportal/develop
HardNorth Jun 22, 2026
e514425
Changelog update
autoreportportal Jun 22, 2026
5e44a7f
Version update
autoreportportal Jun 22, 2026
2e6eaad
Make CONTRIBUTING.rst slightly more accurate
ableeck Jul 30, 2026
a79dc7e
Client version update
HardNorth Jul 31, 2026
4aeb3d5
Merge pull request #430 from reportportal/develop
HardNorth Jul 31, 2026
1364c41
Changelog update
autoreportportal Jul 31, 2026
88d150b
Version update
autoreportportal Jul 31, 2026
4b65cf7
Merge pull request #429 from ableeck/MinorUpdatesToContributingRst
HardNorth Aug 5, 2026
cf66ec8
Client version update
HardNorth Aug 19, 2026
f4c033b
Merge pull request #431 from reportportal/develop
HardNorth Aug 19, 2026
4808a34
Changelog update
autoreportportal Aug 19, 2026
22557e4
Version update
autoreportportal Aug 19, 2026
a663e85
fix hierarchy flags working independently
ParthibanRajasekaran Sep 15, 2026
4a7d792
add test for independent hierarchy flags
ParthibanRajasekaran Sep 15, 2026
11a8ff8
fix BDD scenario handling for hierarchy flags
ParthibanRajasekaran Sep 15, 2026
23acc00
add docstring to _merge_code_with_separator method
ParthibanRajasekaran Sep 15, 2026
801c677
add docstrings to merge methods
ParthibanRajasekaran Sep 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
ignore = E203, W503
max-line-length = 119
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Steps to Reproduce**
Steps to reproduce the behavior:
1. ...
2. ...

**Expected behavior**
A clear and concise description of what you expected to happen.

**Actual behavior**
What actually happened.

**Package versions**
Include version info of the following packages: reportportal-client, pytest-reportportal

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
129 changes: 129 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# Copyright 2022 EPAM Systems
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Release Pytest agent

on:
push:
branches: [ 'master' ]
paths-ignore:
- '.github/**'
- CHANGELOG.md
- README.md
- CONTRIBUTING.rst

env:
VERSION_FILE: setup.py
VERSION_EXTRACT_PATTERN: >-
__version__\s*=\s*"([^"]+)
VERSION_REPLACE_PATTERN: >-
__version__ = "\1"
TMP_SUFFIX: _updated
CHANGE_LOG_FILE: CHANGELOG.md

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Generate versions
uses: HardNorth/github-version-generate@v1
with:
version-source: file
version-file: ${{ env.VERSION_FILE }}
version-file-extraction-pattern: ${{ env.VERSION_EXTRACT_PATTERN }}

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel

- name: Build package
run: python setup.py sdist bdist_wheel

- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}

- name: Setup git credentials
uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
name: 'reportportal.io'
email: 'support@reportportal.io'
token: ${{ secrets.GITHUB_TOKEN }}

- name: Tagging new version
id: newVersionTag
run: |
git tag -a ${{ env.RELEASE_VERSION }} -m "Release ${{ env.RELEASE_VERSION }}"
git push --tags

- name: Checkout develop branch
uses: actions/checkout@v4
with:
ref: 'develop'
fetch-depth: 0

- name: Merge release branch into develop
id: mergeIntoDevelop
run: |
git merge -m 'Merge master branch into develop after a release' origin/master
git status | (! grep -Fq 'both modified:') || git status | grep -F 'both modified:' \
| { echo -e 'Unable to merge master into develop, merge conflicts:'; (! grep -Eo '[^ ]+$') }

- name: Update CHANGELOG.md
id: changelogUpdate
run: |
sed '/\[Unreleased\]/q' ${{ env.CHANGE_LOG_FILE }} >> ${{ env.CHANGE_LOG_FILE }}${{ env.TMP_SUFFIX }}
sed -E '1,/#?#\s*\[Unreleased\]/d' ${{ env.CHANGE_LOG_FILE }} | sed -E '/#?#\s*\[/q' | \
{ echo -e '\n## [${{ env.RELEASE_VERSION }}]'; sed '$d'; } >> ${{ env.CHANGE_LOG_FILE }}${{ env.TMP_SUFFIX }}
grep -E '#?#\s*\[[0-9]' ${{ env.CHANGE_LOG_FILE }} | head -n1 >> ${{ env.CHANGE_LOG_FILE }}${{ env.TMP_SUFFIX }}
sed -E '1,/#?#\s*\[[0-9]/d' ${{ env.CHANGE_LOG_FILE }} >> ${{ env.CHANGE_LOG_FILE }}${{ env.TMP_SUFFIX }}
rm ${{ env.CHANGE_LOG_FILE }}
mv ${{ env.CHANGE_LOG_FILE }}${{ env.TMP_SUFFIX }} ${{ env.CHANGE_LOG_FILE }}
git add ${{ env.CHANGE_LOG_FILE }}
git commit -m "Changelog update"

- name: Read changelog Entry
id: readChangelogEntry
uses: mindsers/changelog-reader-action@v2
with:
version: ${{ env.RELEASE_VERSION }}
path: ./${{ env.CHANGE_LOG_FILE }}

- name: Create Release
id: createRelease
uses: ncipollo/release-action@v1
with:
tag: ${{ env.RELEASE_VERSION }}
name: Release ${{ env.RELEASE_VERSION }}
body: ${{ steps.readChangelogEntry.outputs.changes }}

- name: Update version file
id: versionFileUpdate
run: |
export CURRENT_VERSION_VALUE=`echo '${{ env.CURRENT_VERSION }}' | sed -E 's/(.*)/${{ env.VERSION_REPLACE_PATTERN }}/'`
export NEXT_VERSION_VALUE=`echo '${{ env.NEXT_VERSION }}' | sed -E 's/(.*)/${{ env.VERSION_REPLACE_PATTERN }}/'`
sed "s/${CURRENT_VERSION_VALUE}/${NEXT_VERSION_VALUE}/g" ${{ env.VERSION_FILE }} > ${{ env.VERSION_FILE }}${{ env.TMP_SUFFIX }}
rm ${{ env.VERSION_FILE }}
mv ${{ env.VERSION_FILE }}${{ env.TMP_SUFFIX }} ${{ env.VERSION_FILE }}
git add ${{ env.VERSION_FILE }}
git commit -m 'Version update'
git push
48 changes: 48 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 2022 EPAM Systems
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: Tests

on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13', '3.14' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions

- name: Test with tox
run: tox

- name: Upload coverage to Codecov
if: matrix.python-version == 3.10 && success()
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
flags: unittests
name: codecov-client-reportportal
139 changes: 137 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,137 @@
# Created by .ignore support plugin (hsz.mobi)
.idea
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
.idea/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
.venv38
.venv39
.venv310
.venv311
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

AGENTS.md
PROMPTS.md
Loading