From a43dfc27cfce9fbb61fdd8e68af146cdfbc6cb69 Mon Sep 17 00:00:00 2001 From: StarQTius <> Date: Sat, 30 Sep 2023 22:48:07 +0200 Subject: [PATCH] Update path properly in actions --- .github/workflows/Check.yml | 2 +- .github/workflows/CheckInstallation.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Check.yml b/.github/workflows/Check.yml index 2f6dcc4..32e2660 100644 --- a/.github/workflows/Check.yml +++ b/.github/workflows/Check.yml @@ -8,6 +8,6 @@ jobs: - run: sudo apt install ccache python3.11-dev python3.11-venv - run: sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 20 - run: curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry sudo python3.11 - - - run: export PATH=/usr/local/poetry/bin:$PATH + - run: echo "/root/.local/bin" >> $GITHUB_PATH - run: poetry install - run: poetry run pytest -s --timeout 3 diff --git a/.github/workflows/CheckInstallation.yml b/.github/workflows/CheckInstallation.yml index 87c22bc..03e803a 100644 --- a/.github/workflows/CheckInstallation.yml +++ b/.github/workflows/CheckInstallation.yml @@ -8,7 +8,7 @@ jobs: - run: sudo apt install ccache python3.11-dev python3.11-venv - run: sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 20 - run: curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry sudo python3.11 - - - run: export PATH=/usr/local/poetry/bin:$PATH + - run: echo "/root/.local/bin" >> $GITHUB_PATH - run: poetry install - run: >- echo ' @@ -17,4 +17,4 @@ jobs: error banner panic - ' | python3 examples/demo.py + ' | poetry run python3 examples/demo.py