Skip to content

Commit

Permalink
Add git submodule init to setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
YvesSchoenberg committed Dec 20, 2023
1 parent 0a4046a commit 2c8ae47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Run setup script
run: ./actions/px4_flight_review/scripts/setup.sh

- name: Run setup script
- name: Run build script
run: ./actions/px4_flight_review/scripts/build.sh

- name: Run deploy script
Expand Down
3 changes: 3 additions & 0 deletions actions/px4_flight_review/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ venv_dir="$PACKAGE_ROOT/.venv"
# Create a virtual environment
python -m venv --upgrade-deps $venv_dir

# Initialize flight review submodule
git submodule update --init --recursive $PACKAGE_ROOT/src/px4_flight_review/flight_review/

# Install roboto
pip_exe="$venv_dir/bin/pip"
$pip_exe install --upgrade -r $PACKAGE_ROOT/requirements.dev.txt

0 comments on commit 2c8ae47

Please sign in to comment.