diff --git a/.github/workflows/Check.yml b/.github/workflows/Check.yml index 01fb532..0fa4ffe 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 sudo python3.11 - - - run: echo "/root/.local/bin" >> $GITHUB_PATH - - run: /root/.local/bin/poetry install + - run: curl -sSL https://install.python-poetry.org | python3.11 - + - run: echo "~/.local/share/pypoetry/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 03e803a..fc59f5b 100644 --- a/.github/workflows/CheckInstallation.yml +++ b/.github/workflows/CheckInstallation.yml @@ -7,8 +7,8 @@ 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 sudo python3.11 - - - run: echo "/root/.local/bin" >> $GITHUB_PATH + - run: curl -sSL https://install.python-poetry.org | python3.11 - + - run: echo "~/.local/share/pypoetry/bin" >> $GITHUB_PATH - run: poetry install - run: >- echo '