From da4b62a1522490de27c2d18b378884eb6d0d787a Mon Sep 17 00:00:00 2001 From: Max Rakitin Date: Fri, 6 Sep 2024 16:54:12 -0400 Subject: [PATCH] CI: run under test profile --- .github/workflows/pre-commit-self-hosted.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit-self-hosted.yml b/.github/workflows/pre-commit-self-hosted.yml index 3288cc5..a875f0a 100644 --- a/.github/workflows/pre-commit-self-hosted.yml +++ b/.github/workflows/pre-commit-self-hosted.yml @@ -42,6 +42,8 @@ jobs: - name: Test the code run: | + cd ~/.ipython/profile_collection/ + # This is what IPython does internally to load the startup files: command=" import os @@ -58,4 +60,4 @@ jobs: print(f'Executing {f} in CI') ip.parent._exec_file(f)" - ipython --profile=collection -c "$command" + ipython --profile=test -c "$command"