From c3d84552eaa3b8f8aec2b5ba470504d64b9d57b4 Mon Sep 17 00:00:00 2001 From: Tania Allard Date: Sun, 19 May 2024 14:08:38 -0400 Subject: [PATCH] Fix profile step --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 91305d1b5..993383369 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -211,7 +211,7 @@ jobs: path: htmlcov if: ${{ failure() }} - profile: + profiling: needs: [build-site, run-pytest] runs-on: ubuntu-latest steps: @@ -224,7 +224,7 @@ jobs: python-version: "3.11" - name: "Run profiling with py-spy 🕵️‍♂️" # profiling needs to be run as sudo - run: sudo python -Im tox run -e py311-profile-docs -- -o docbuild_profile.svg + run: python -m tox run -e py311-profile-docs -- -o docbuild_profile.svg continue-on-error: true - name: "Upload profiling data to GH artifacts 📤" uses: actions/upload-artifact@v4