From 3a015ae59179fa81c8e1e8c23e86a064fce97852 Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Thu, 19 Dec 2024 19:43:28 +0300 Subject: [PATCH 1/2] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a66342..0f89add 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -121,7 +121,7 @@ jobs: 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 }} + 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 }} From 25c402f38c3ba36debeef442ac469ca739377e3d Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Thu, 19 Dec 2024 19:45:52 +0300 Subject: [PATCH 2/2] Fix warning --- tests/logs/test_rp_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/logs/test_rp_file.py b/tests/logs/test_rp_file.py index 1ec6055..2e2fa85 100644 --- a/tests/logs/test_rp_file.py +++ b/tests/logs/test_rp_file.py @@ -17,7 +17,7 @@ from reportportal_client.core.rp_file import RPFile -@pytest.mark.parametrize(["name"], [[""], [None], [" "]]) +@pytest.mark.parametrize(["name"], [("",), (None,), (" ",)]) def test_rp_file_name_should_not_be_empty(name): file = RPFile(name, b'{"test": true}', "application/json")