Skip to content

Commit

Permalink
Fix the installation of dependencies in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanscherzinger committed Jul 25, 2024
1 parent 43af5b5 commit 56dcf2e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .github/script/install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#/usr/bin/bash
cd $HOME
apt-get install curl libcurl4-openssl-dev
apt-get install python3-fastapi python3-uvicorn
apt-get install -y curl libcurl4-openssl-dev

# Manage Python dependencies with pipx
# https://github.com/pypa/pipx
apt-get update
apt-get install -y pipx
pipx ensurepath
pipx ensurepath --global

pipx install fastapi uvicorn httpx requests coverage
4 changes: 2 additions & 2 deletions schunk_egu_egk_gripper_dummy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A minimalist protocol simulator for system tests.
## Dependencies

```bash
pip install fastapi uvicorn
pip install --user fastapi uvicorn
```

## Getting started
Expand All @@ -16,7 +16,7 @@ pip install fastapi uvicorn
## Run tests locally

```bash
pip install pytest httpx coverage
pip install --user pytest httpx coverage
```

```bash
Expand Down
1 change: 1 addition & 0 deletions schunk_egu_egk_gripper_tests/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

<test_depend>ament_lint_auto</test_depend>
<test_depend>schunk_egu_egk_gripper_driver</test_depend>
<test_depend>schunk_egu_egk_gripper_dummy</test_depend>
<test_depend>launch</test_depend>
<test_depend>launch_ros</test_depend>
<test_depend>launch_pytest</test_depend>
Expand Down

0 comments on commit 56dcf2e

Please sign in to comment.