Run version memory guard in CI
This commit is contained in:
parent
74b0d893f4
commit
f50f70dc41
3 changed files with 27 additions and 0 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -151,6 +151,18 @@ jobs:
|
|||
fi
|
||||
fi
|
||||
|
||||
- name: Run CLI version memory guard regression
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
CLI_BIN="$(find "$HOME/Library/Developer/Xcode/DerivedData" -path "*/Build/Products/Debug/cmux" -print -quit)"
|
||||
if [ -z "${CLI_BIN:-}" ] || [ ! -x "$CLI_BIN" ]; then
|
||||
echo "cmux CLI binary not found in DerivedData" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CMUX_CLI_BIN="$CLI_BIN" python3 tests/test_cli_version_memory_guard.py
|
||||
|
||||
tests-depot:
|
||||
# Never run Depot jobs for fork pull requests (avoid billing on external PRs).
|
||||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue