From 0cbad18149766ddb55115fb23c23fefcdb84f792 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Wed, 6 Dec 2023 17:46:54 +0100 Subject: [PATCH] Use PYTHONPATH Signed-off-by: Jose Luis Rivero --- .github/workflows/main.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b65ec0e..deeda32 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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