check-database-compatibility: Drop .py from script name.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-03-03 17:16:37 -08:00
parent 26eb1d7371
commit 5a79ca251b
3 changed files with 3 additions and 3 deletions

View File

@ -152,11 +152,11 @@ jobs:
./tools/setup/generate_integration_bots_avatars.py --check-missing ./tools/setup/generate_integration_bots_avatars.py --check-missing
./tools/ci/check-executables ./tools/ci/check-executables
# Ban check-database-compatibility.py from transitively # Ban check-database-compatibility from transitively
# relying on static/generated, because it might not be # relying on static/generated, because it might not be
# up-to-date at that point in upgrade-zulip-stage-2. # up-to-date at that point in upgrade-zulip-stage-2.
chmod 000 static/generated web/generated chmod 000 static/generated web/generated
./scripts/lib/check-database-compatibility.py ./scripts/lib/check-database-compatibility
chmod 755 static/generated web/generated chmod 755 static/generated web/generated
- name: Run documentation and api tests - name: Run documentation and api tests

View File

@ -268,7 +268,7 @@ subprocess.check_call(
# downgrade. # downgrade.
if not args.skip_downgrade_check: if not args.skip_downgrade_check:
subprocess.check_call( subprocess.check_call(
[os.path.join(deploy_path, "scripts", "lib", "check-database-compatibility.py")], [os.path.join(deploy_path, "scripts", "lib", "check-database-compatibility")],
preexec_fn=su_to_zulip, preexec_fn=su_to_zulip,
) )