Skip to content

Commit

Permalink
Fix profile step
Browse files Browse the repository at this point in the history
  • Loading branch information
trallard committed May 19, 2024
1 parent 36ec81f commit c3d8455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:
path: htmlcov
if: ${{ failure() }}

profile:
profiling:
needs: [build-site, run-pytest]
runs-on: ubuntu-latest
steps:
Expand All @@ -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
Expand Down

0 comments on commit c3d8455

Please sign in to comment.