Skip to content

Commit

Permalink
.github: Added pip install and python package install commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
levy committed Oct 30, 2024
1 parent f90bd40 commit 87a155d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/module-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/other-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 87a155d

Please sign in to comment.