From 697108baee692fd970e1093f9beee704eafd2613 Mon Sep 17 00:00:00 2001 From: zaid3727 Date: Tue, 2 Jul 2024 19:24:38 +0200 Subject: [PATCH] codacy_changes --- .github/workflows/codacy-analysis.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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