Skip to content

Commit 75fb4d3

Browse files
committed
Add sanity check for 'brz' command
Added sanity check for 'brz' command in workflow.
1 parent 046714d commit 75fb4d3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/synchronize-launchpad.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
python -V
22+
23+
echo "::group::Installing breezy"
2224
venv_dir="/tmp/venv"
2325
python -m venv "$venv_dir"
2426
. $venv_dir/bin/activate
@@ -32,7 +34,17 @@ jobs:
3234
# Add missing import and use binary buffer of stdin for Python3 compat
3335
sed -i '1 i from breezy import controldir' $fastimport_dir/branch_updater.py
3436
sed -i 's/helpers.binary_stream(sys.stdin)/sys.stdin.buffer/' $fastimport_dir/cmds.py
37+
echo "::endgroup::"
3538
39+
# Sanity check
40+
echo "::group::Breezy location"
41+
which brz
42+
echo "::endgroup::"
43+
echo "::group::brz script contents"
44+
cat $(which brz)
45+
echo "::endgroup::"
46+
echo "brz help text"
47+
brz help
3648
3749
- uses: actions/checkout@v4
3850
with:

0 commit comments

Comments
 (0)