Skip to content

Commit

Permalink
Update path properly in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
StarQTius committed Sep 30, 2023
1 parent fcc1d71 commit a43dfc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/CheckInstallation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 '
Expand All @@ -17,4 +17,4 @@ jobs:
error
banner
panic
' | python3 examples/demo.py
' | poetry run python3 examples/demo.py

0 comments on commit a43dfc2

Please sign in to comment.