Skip to content

Commit

Permalink
Install poetry with root in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
StarQTius committed Sep 22, 2023
1 parent 9b82555 commit fcc1d71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +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 sudo python3.11 -
- run: export PATH=/usr/local/poetry/bin:$PATH
- run: poetry install
- run: poetry run pytest -s --timeout 3
2 changes: 1 addition & 1 deletion .github/workflows/CheckInstallation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +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 sudo python3.11 -
- run: export PATH=/usr/local/poetry/bin:$PATH
- run: poetry install
- run: >-
Expand Down

0 comments on commit fcc1d71

Please sign in to comment.