Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Nov 19, 2024
1 parent 2b1934c commit 20e09b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ jobs:
from pathlib import Path
bin_path = (
Path("${{ steps.artifacts.outputs.download-path }}") / "${{ matrix.bin_name }}"
Path(r"${{ steps.artifacts.outputs.download-path }}") / r"${{ matrix.bin_name }}"
).resolve(strict=True)
assert bin_path.is_file()
test_plan = """${{ inputs.binaries-test-plan }}""".strip()
test_plan = r"""${{ inputs.binaries-test-plan }}""".strip()
if not test_plan:
test_plan = dedent("""\
# Example of a test plan for a binary.
Expand All @@ -232,7 +232,7 @@ jobs:
cli = [str(bin_path)] + (shlex.split(args) if sys.platform != 'win32' else [args])
print(f"\n\n======== Running test #{index}:\n=======> {' '.join(cli)}")
result = subprocess.run(cli, capture_output=True, timeout=30, check=True)
result = subprocess.run(cli, capture_output=True, timeout=30, check=True, encoding="utf-8", text=True)
print(result.stdout)
git-tag:
Expand Down

0 comments on commit 20e09b3

Please sign in to comment.