Skip to content

Commit

Permalink
Fix poetry installation in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
StarQTius committed Sep 22, 2023
1 parent d66e294 commit 9b82555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/Check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions .github/workflows/CheckInstallation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: >-
Expand Down

0 comments on commit 9b82555

Please sign in to comment.