Skip to content

Commit f2dd565

Browse files
Update Linux All Tests to allow conan to install missing system packages
1 parent be02e0d commit f2dd565

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ jobs:
8585
run: python3 -m venv .venv
8686
- name: "Install requirements_dev.txt"
8787
run: source .venv/bin/activate && pip3 install -r requirements_dev.txt pytest-error-for-skips
88+
- name: "Update 'default' conan profile to allow installing system packages"
89+
run: |
90+
source .venv/bin/activate
91+
python3 -m conans.conan profile detect --exist-ok
92+
echo -e "\n[conf]\ntools.system.package_manager:mode=install\ntools.system.package_manager:sudo=True\n" >> $(python3 -m conans.conan profile path default)
8893
- name: "Build basilisk"
8994
run: source .venv/bin/activate && python3 conanfile.py --opNav True --mujoco True --mujocoReplay True
9095

0 commit comments

Comments
 (0)