diff --git a/.github/workflows/codacy-analysis.yml b/.github/workflows/codacy-analysis.yml index b47fbad..9a81e9c 100644 --- a/.github/workflows/codacy-analysis.yml +++ b/.github/workflows/codacy-analysis.yml @@ -17,11 +17,21 @@ jobs: python-version: "3.x" cache: "pip" - - name: Install dependencies and coverage + - name: Install ROS dependencies + run: | + sudo apt-get update + sudo apt-get install -y python3-rosdep + rosdep update + rosdep install --from-paths src --ignore-src -r -y + + - name: Install rclpy + run: | + python -m pip install rclpy + + - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install coverage - name: Debug PATH run: echo $PATH