Skip to content

Commit

Permalink
Use PYTHONPATH
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Dec 6, 2023
1 parent 361c423 commit 0cbad18
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt --user ; fi
pip list -v
pip list -v --user || true
pip show docopt --user || true
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip show docopt
pip list -v
echo "/usr/local/bin" >> $GITHUB_PATH
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand All @@ -40,7 +35,7 @@ jobs:
python3 plugins/*_TEST.py
- name: Smoke system tests
run: |
sudo env "PATH=$PATH" python3 ./gzdev.py repository enable osrf stable
sudo env "PYTHONPATH=/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages" python3 ./gzdev.py repository enable osrf stable
python3 gzdev.py repository list
python3 gzdev.py ign-docker-env citadel
python3 gzdev.py ign-docker-env dome --linux-distro ubuntu:bionic
Expand Down

0 comments on commit 0cbad18

Please sign in to comment.