Skip to content

Commit fe55fc2

Browse files
authored
Merge pull request #394 from reportportal/develop
Release
2 parents 5cae0db + 1a08b8f commit fe55fc2

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ jobs:
6969
7070
token: ${{ secrets.GITHUB_TOKEN }}
7171

72-
- name: Tagging new version
73-
id: newVersionTag
74-
run: |
75-
git tag -a ${{ env.RELEASE_VERSION }} -m "Release ${{ env.RELEASE_VERSION }}"
76-
git push --tags
72+
# - name: Tagging new version
73+
# id: newVersionTag
74+
# run: |
75+
# git tag -a ${{ env.RELEASE_VERSION }} -m "Release ${{ env.RELEASE_VERSION }}"
76+
# git push --tags
7777

7878
- name: Checkout develop branch
7979
uses: actions/checkout@v4
@@ -119,8 +119,8 @@ jobs:
119119
- name: Update version file
120120
id: versionFileUpdate
121121
run: |
122-
export CURRENT_VERSION_VALUE=`echo '${{ env.CURRENT_VERSION }}' | sed -E "s/(.*)/${{ env.VERSION_REPLACE_PATTERN }}/"`
123-
export NEXT_VERSION_VALUE=`echo '${{ env.NEXT_VERSION }}' | sed -E "s/(.*)/${{ env.VERSION_REPLACE_PATTERN }}/"`
122+
export CURRENT_VERSION_VALUE=`echo '${{ env.CURRENT_VERSION }}' | sed -E 's/(.*)/${{ env.VERSION_REPLACE_PATTERN }}/'`
123+
export NEXT_VERSION_VALUE=`echo '${{ env.NEXT_VERSION }}' | sed -E 's/(.*)/${{ env.VERSION_REPLACE_PATTERN }}/'`
124124
sed "s/${CURRENT_VERSION_VALUE}/${NEXT_VERSION_VALUE}/g" ${{ env.VERSION_FILE }} > ${{ env.VERSION_FILE }}${{ env.TMP_SUFFIX }}
125125
rm ${{ env.VERSION_FILE }}
126126
mv ${{ env.VERSION_FILE }}${{ env.TMP_SUFFIX }} ${{ env.VERSION_FILE }}

tests/integration/test_pass_failed_skipped.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from unittest import mock
1717

1818
import pytest
19-
from delayed_assert import assert_expectations, expect
2019

2120
from tests import REPORT_PORTAL_SERVICE
2221
from tests.helpers import utils
@@ -55,17 +54,16 @@ def test_simple_tests(mock_client_init, test, expected_run_status, expected_item
5554
start_test_step = start_call_args[-1 - i][1]
5655
finish_test_step = finish_call_args[i][1]
5756

58-
expect(finish_test_step["item_id"].startswith(start_test_step["name"]))
57+
assert finish_test_step["item_id"].startswith(start_test_step["name"])
5958
if i == 0:
6059
actual_status = finish_test_step["status"]
61-
expect(
60+
assert (
6261
actual_status == expected_item_status,
6362
f'Invalid item status, actual "{actual_status}", expected: "{expected_item_status}"',
6463
)
6564

6665
finish_launch_call_args = mock_client.finish_launch.call_args_list
67-
expect(len(finish_launch_call_args) == 1)
68-
expect("end_time" in finish_launch_call_args[0][1])
69-
expect(finish_launch_call_args[0][1]["end_time"] is not None)
70-
expect("status" not in finish_launch_call_args[0][1])
71-
assert_expectations()
66+
assert len(finish_launch_call_args) == 1
67+
assert "end_time" in finish_launch_call_args[0][1]
68+
assert finish_launch_call_args[0][1]["end_time"] is not None
69+
assert "status" not in finish_launch_call_args[0][1]

0 commit comments

Comments
 (0)