From 9b82555b210ecca11c54e835e2495e73860a0289 Mon Sep 17 00:00:00 2001 From: StarQTius <> Date: Fri, 22 Sep 2023 19:49:45 +0200 Subject: [PATCH] Fix poetry installation in actions --- .github/workflows/Check.yml | 3 +-- .github/workflows/CheckInstallation.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Check.yml b/.github/workflows/Check.yml index bc8553d..1b57386 100644 --- a/.github/workflows/Check.yml +++ b/.github/workflows/Check.yml @@ -7,8 +7,7 @@ jobs: - uses: actions/checkout@v2 - 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 python3.11 - + - run: curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry python3.11 - - run: export PATH=/usr/local/poetry/bin:$PATH - run: poetry install - run: poetry run pytest -s --timeout 3 diff --git a/.github/workflows/CheckInstallation.yml b/.github/workflows/CheckInstallation.yml index 7f0a575..132e750 100644 --- a/.github/workflows/CheckInstallation.yml +++ b/.github/workflows/CheckInstallation.yml @@ -7,8 +7,7 @@ jobs: - uses: actions/checkout@v2 - 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 python3.11 - + - run: curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry python3.11 - - run: export PATH=/usr/local/poetry/bin:$PATH - run: poetry install - run: >-