Skip to content

Commit

Permalink
tests: write out pip freeze two more times
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Feb 25, 2024
1 parent f2732fe commit 6048395
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/integration-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,23 @@ def run_test(
command = f"python3 /srv/src/bootstrap/bootstrap.py --version={upgrade_from}"
run_command(container_name, command)

# show user environment
command = "/opt/tljh/user/bin/python3 -m pip freeze"
run_command(container_name, command)

command = f"python3 /srv/src/bootstrap/bootstrap.py {' '.join(installer_args)}"
run_command(container_name, command)

# show user environment (again if upgrade)
command = "/opt/tljh/user/bin/python3 -m pip freeze"
run_command(container_name, command)

# Install pkgs from requirements in hub's pip, where
# the bootstrap script installed the others
command = "/opt/tljh/hub/bin/python3 -m pip install -r /srv/src/integration-tests/requirements.txt"
run_command(container_name, command)

# show environment
# show hub environment
command = "/opt/tljh/hub/bin/python3 -m pip freeze"
run_command(container_name, command)

Expand Down

0 comments on commit 6048395

Please sign in to comment.