We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa3867 commit 7ed9bd2Copy full SHA for 7ed9bd2
.github/actions/Emscripten-Notebook-Tests/action.yml
@@ -18,8 +18,6 @@ runs:
18
shell: bash -l {0}
19
run: |
20
set -e
21
- echo "Processes on port 8000:"
22
- lsof -nP -i:8000 || echo "None"
23
micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyterlite-xeus -c conda-forge -y
24
micromamba activate xeus-lite-host
25
if [[ "${{ matrix.os }}" == "macos"* ]]; then
@@ -83,7 +81,5 @@ runs:
83
81
# Kill the jupyter lite serve process now we are done running xeus-cpp in the
84
82
# Jupyter Lite website.
85
kill -9 $jupyter_lite_process_id
86
-
87
- pkill -f "jupyter|jupyter-lite" || :
88
- PID=$(lsof -t -i:8000 || :) && [ -n "$PID" ] && kill -9 $PID || :
+ lsof -nP [email protected] -sTCP:LISTEN | awk 'NR>1 {print $2}' | uniq | xargs -r kill -9 || :
89
0 commit comments