diff --git a/.github/workflows/module-tests.yml b/.github/workflows/module-tests.yml index cf28dcc2ec4..2c02e7adeee 100644 --- a/.github/workflows/module-tests.yml +++ b/.github/workflows/module-tests.yml @@ -45,6 +45,16 @@ jobs: source $GITHUB_WORKSPACE/inet/_scripts/github/build-omnetpp.sh + echo "::group::Installing pip" + sudo apt install -y python3-pip + echo "::endgroup::" + + echo "::group::Installing Python packages" + python3 -m venv $GITHUB_WORKSPACE/venv + source $GITHUB_WORKSPACE/venv/bin/activate + python3 -m pip install --upgrade matplotlib numpy pandas seaborn scipy ipython posix-ipc cppyy sewar dask distributed optimparallel requests + echo "::endgroup::" + source $GITHUB_WORKSPACE/inet/_scripts/github/build-inet.sh echo "::group::Running module tests" diff --git a/.github/workflows/other-tests.yml b/.github/workflows/other-tests.yml index afe7cb6c6d3..86035c004c0 100644 --- a/.github/workflows/other-tests.yml +++ b/.github/workflows/other-tests.yml @@ -46,6 +46,16 @@ jobs: source $GITHUB_WORKSPACE/inet/_scripts/github/build-omnetpp.sh + echo "::group::Installing pip" + sudo apt install -y python3-pip + echo "::endgroup::" + + echo "::group::Installing Python packages" + python3 -m venv $GITHUB_WORKSPACE/venv + source $GITHUB_WORKSPACE/venv/bin/activate + python3 -m pip install --upgrade matplotlib numpy pandas seaborn scipy ipython posix-ipc cppyy sewar dask distributed optimparallel requests + echo "::endgroup::" + source $GITHUB_WORKSPACE/inet/_scripts/github/build-inet.sh echo "::group::Running ${{ matrix.testdir }} tests" diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 9b14e9e5421..66ef798ae00 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -45,6 +45,16 @@ jobs: source $GITHUB_WORKSPACE/inet/_scripts/github/build-omnetpp.sh + echo "::group::Installing pip" + sudo apt install -y python3-pip + echo "::endgroup::" + + echo "::group::Installing Python packages" + python3 -m venv $GITHUB_WORKSPACE/venv + source $GITHUB_WORKSPACE/venv/bin/activate + python3 -m pip install --upgrade matplotlib numpy pandas seaborn scipy ipython posix-ipc cppyy sewar dask distributed optimparallel requests + echo "::endgroup::" + source $GITHUB_WORKSPACE/inet/_scripts/github/build-inet.sh echo "::group::Running unit tests"